我最近发现this“样板”,并立即爱上它,基本上是因为它简单,很轻巧,不像其他css框架,不会影响你的设计。关于骷髅的几个问题
看着它的源代码,但是,它提出了一些问题,例如像这部分在这里
input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea,
select {
height: 38px;
padding: 6px 10px; /* The 6px vertically centers text on FF, ignored by Webkit */
background-color: #fff;
border: 1px solid #D1D1D1;
border-radius: 4px;
box-shadow: none;
box-sizing: border-box; }
/* Removes awkward default styles on some inputs for iOS */
input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none; }
textarea {
min-height: 65px;
padding-top: 6px;
padding-bottom: 6px; }
喜欢的话是不够坏,他们使用带属性的普遍选择,但他们做两次?
我下面几行看到这部分
input,
textarea,
select,
fieldset {
margin-bottom: 1.5rem; }
这可能是插入我提到以前的规则集,并避免双(或三)普遍选择。
这里的另一个
.container:after,
.row:after,
.u-cf {
content: "";
display: table;
clear: both; }
的clearfix实用类缺少:after
。
看着他们的github页面,最近的更新大约是7个月前,所以我想他们不会发布任何修复。
虽然我不是CSS大师,但是我想问一下,如果我的怀疑是正确的,并且最终可以给我一些其他CSS框架的名称,但是其工作方式相同,但写得不好吗?
看一看引导 –
@Neil引导是发生在CSS – Rishav
为什么引导最差最坏的事情? –