1
I’m using the Bootstrap version v3.0 and analyzing the file CSS, found that stretch:
*,
*:before,
*:after {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
I would like to know, what is the use *.
In the current version of Bootstrap (3.3.4), he’s inside a @media Print{}, thus:
@media print {
*,
*:before,
*:after {
color: #000 !important;
text-shadow: none !important;
background: transparent !important;
-webkit-box-shadow: none !important;
box-shadow: none !important;
}
I wonder what that code is for?
*selects all elements. Your question is just that or is about the:beforeand:afteralso?– Lucas
@Luke in the case, it’s only about the ? same.
– Randrade
@Lucas puts as answer p/question to be closed
– SneepS NinjA