*, *: before, *: after {} css3 what is the meaning of * here?

*, *:before, *:after {
  box-sizing: inherit;
}

what does here and do?

Sep.16,2021
The

asterisk is not css3. The asterisk is a selector, which represents the meaning of all elements. The function here is to make the box model of all elements inherit the parent class. For more information, see * selector


wildcard, indicating all elements


.
all elements and all elements inherit the box-sizing > attribute of the parent element before and after the content
refer to query css3 box-sizing attribute pseudo-class : before : after * is all elements

* in css, it means to match all the elements that are usually used to force the reset of the inner and outer margins

.
*{ 
    margin:0;
    padding:0;
}

CSS selector wildcard, which indicates that all elements are selected.
but this is a selector that affects performance and time consumption, and is generally not recommended in development.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e512ba-5a15c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e512ba-5a15c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?