html - 为什么 Html Fieldset Legend 在 Safari 浏览器或 Ionic 应用程序中无法正确显示在 iPhone 中运行?

标签 html css ionic4

我正在创建 Ionic 4 Angular 应用程序,并使用 Html Fieldset。但是 Html Fieldset 在 safari 浏览器和 iphones 中无法正常显示。

.Legend_css { . /* This is lagend css class use in html */
    position: relative;
    top: 1px;
    padding: 6px;
    color: white;
    text-align: center;
    font-size: 16.16px;
    letter-spacing: 0.15 normal;
    border-radius: 6px;
    margin-left: 58px;
    border: 1px solid rgba(92, 111, 123, 0.829);
    background: rgba(92, 111, 123, 0.829);
    height: 30px;
    width: 240px;
  }

This is how legend show

最佳答案

Alpha channel 支持存在一个已知问题。看这里:https://ionicframework.com/docs/theming/advanced#known-limitations

要解决此问题,请先尝试不使用 RGBA 值,然后查看它是否正确呈现。

关于html - 为什么 Html Fieldset Legend 在 Safari 浏览器或 Ionic 应用程序中无法正确显示在 iPhone 中运行?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56523081/

相关文章:

java - 如何将 CSS 添加到 eclipse HTML 文件

css - ionic 4 - 为整页设置背景图片

ionic4 - 带电容器的 ionic PWA

html - 媒体查询不适用于电子邮件

jquery - Bootstrap 在页面加载时自动选择选项卡

html - 如何在跨度中居中文本?

css - 我无法覆盖 woocommerce.css

javascript - HTML 未加载 CSS,刷新后一切正常。同样在移动设备上,它在第一次加载时不起作用

html - 图像和 anchor 内的跨度之间显示空间

ionic-framework - Ionic AppFlow - 使用 iOS 推送通知构建