在bootstrap源码中看到的
.alert-dismissable .close,
.alert-dismissible .close {
position: relative;
top: -2px;
right: -21px;
color: inherit;
}
这里看起来是同名的定义了两次,是有什么特殊作用吗
明明是不同的好吧,你在仔细看看
不是同名吧...你看中间的单词..dismissable 一个是dismissible
在bootstrap源码中看到的
.alert-dismissable .close,
.alert-dismissible .close {
position: relative;
top: -2px;
right: -21px;
color: inherit;
}
这里看起来是同名的定义了两次,是有什么特殊作用吗
明明是不同的好吧,你在仔细看看
不是同名吧...你看中间的单词..dismissable 一个是dismissible