【发布时间】:2021-07-25 18:49:24
【问题描述】:
我正在构建一个 Ionic 应用程序。为了使它们更漂亮,我对按钮进行了四舍五入,但是当我这样做时,边框就像链接的照片一样。 我尝试过这些不同的方法,但都没有奏效:
border: 0px !important;
border-bottom-color: transparent !important;
background-image: none !important;
border-bottom: none !important;
text-shadow: none !important;
box-shadow: none !important;
其他按钮也会发生这种情况: button 2
我不能使用离子按钮,因为文本会随之崩溃。
非常感谢。
【问题讨论】:
-
这看起来像
box-shadow,不是吗?也许你可以试试box-shadow: none !important
标签: css angular ionic-framework button