docs: use double colon for pseudo-elements (#40004)

The double colon helps to distinguish between pseudo-classes and pseudo-elements.
https://developer.mozilla.org/en-US/docs/Web/CSS/Pseudo-elements

PR Close #40004
This commit is contained in:
Alexey Elin 2020-12-07 16:51:01 +03:00 committed by Misko Hevery
parent 6d19c16d32
commit 775394c809
4 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
[class*='col-'] { [class*='col-'] {
float: left; float: left;
} }
*, *:after, *:before { *, *::after, *::before {
-webkit-box-sizing: border-box; -webkit-box-sizing: border-box;
-moz-box-sizing: border-box; -moz-box-sizing: border-box;
box-sizing: border-box; box-sizing: border-box;

View File

@ -10,7 +10,7 @@
a { a {
text-decoration: none; text-decoration: none;
} }
*, *:after, *:before { *, *::after, *::before {
-webkit-box-sizing: border-box; -webkit-box-sizing: border-box;
-moz-box-sizing: border-box; -moz-box-sizing: border-box;
box-sizing: border-box; box-sizing: border-box;

View File

@ -10,7 +10,7 @@
a { a {
text-decoration: none; text-decoration: none;
} }
*, *:after, *:before { *, *::after, *::before {
-webkit-box-sizing: border-box; -webkit-box-sizing: border-box;
-moz-box-sizing: border-box; -moz-box-sizing: border-box;
box-sizing: border-box; box-sizing: border-box;

View File

@ -10,7 +10,7 @@
a { a {
text-decoration: none; text-decoration: none;
} }
*, *:after, *:before { *, *::after, *::before {
-webkit-box-sizing: border-box; -webkit-box-sizing: border-box;
-moz-box-sizing: border-box; -moz-box-sizing: border-box;
box-sizing: border-box; box-sizing: border-box;