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

Go back to single colon pseudo elements.

This is for backwards compatibility with the browsers we support in v3.
This commit is contained in:
XhmikosR
2018-09-21 22:07:32 +03:00
parent bfc052ad5a
commit 37a2534c8e
13 changed files with 296 additions and 295 deletions
+4 -4
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 {
&:before,
&:after {
display: table; // 2
content: " "; // 1
}
&::after {
&:after {
clear: both;
}
}