2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-20 20:00:36 +03:00

move from csslint to stylelint

This commit is contained in:
Mark Otto
2017-11-25 18:06:34 -08:00
parent 4731b239b1
commit 04d92a420a
73 changed files with 1181 additions and 886 deletions
+5 -5
View File
@@ -6,17 +6,17 @@
// Otherwise it causes space to appear at the top and bottom of elements
// that are clearfixed.
// 2. The use of `table` rather than `block` is only necessary if using
// `:before` to contain the top-margins of child elements.
// `::before` to contain the top-margins of child elements.
//
// Source: http://nicolasgallagher.com/micro-clearfix-hack/
.clearfix() {
&:before,
&:after {
content: " "; // 1
&::before,
&::after {
display: table; // 2
content: " "; // 1
}
&:after {
&::after {
clear: both;
}
}