移除按钮的边框 CSS?
Remove border from buttons CSS?
底部有一些带有边框(填充?)的共享按钮,我不想要 Website。
我的模板服务提供商唯一允许我在代码中包含 CSS.
这是我以我有限的知识得出的解决方案(但没有用):
.fa {
padding: 10px;
font-size: 30px;
width: 14px;
text-align: center;
text-decoration: none;
margin: none;
}
您会建议任何带有行代码的解决方案吗?
谢谢!
如何删除边框:
.fa {
border: 0;
}
或者您可以使用 border-style: 0
。
工作JSFiddle. You can find a tutorial on the use of border here
如果您指的是 Twitter/Facebook 框架按钮,试试这个:
.site-footer .btn-default,
.site-footer .btn-default:hover {
background-color: transparent;
}
根据检查员的说法,您可以从 .site-footer .btn
的填充中得到
在您的代码中包含此 CSS。
.site-footer .btn {
padding: 0;
}
底部有一些带有边框(填充?)的共享按钮,我不想要 Website。
我的模板服务提供商唯一允许我在代码中包含 CSS.
这是我以我有限的知识得出的解决方案(但没有用):
.fa {
padding: 10px;
font-size: 30px;
width: 14px;
text-align: center;
text-decoration: none;
margin: none;
}
您会建议任何带有行代码的解决方案吗?
谢谢!
如何删除边框:
.fa {
border: 0;
}
或者您可以使用 border-style: 0
。
工作JSFiddle. You can find a tutorial on the use of border here
如果您指的是 Twitter/Facebook 框架按钮,试试这个:
.site-footer .btn-default,
.site-footer .btn-default:hover {
background-color: transparent;
}
根据检查员的说法,您可以从 .site-footer .btn
的填充中得到
在您的代码中包含此 CSS。
.site-footer .btn {
padding: 0;
}