美文网首页
border-radius 在ios上兼容问题

border-radius 在ios上兼容问题

作者: 放羊的小孩吖 | 来源:发表于2021-09-23 14:38 被阅读0次
  1. border-radius在ios小圆角变成半圆角:
    在该元素添加css:
-webkit-appearance:none;

即可解决兼容问题。
2.border-radius配合transform使用的时候:
在该元素的父元素上添加css:

transform:rotate(0,0,0)  或者 transform:translate(0,0,0);

相关文章

网友评论

      本文标题:border-radius 在ios上兼容问题

      本文链接:https://www.haomeiwen.com/subject/mwcogltx.html