Tell us what’s happening:
I was just wondering why we need the “::before” and “::after” pseudo-selectors when “*” selects all the elements?
Your code so far
<!-- file: index.html -->
/* file: styles.css */
/* User Editable Region */
*, ::before, ::after{
padding: 0;
margin: 0;
box-sizing: border-box;
}
/* User Editable Region */
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36
Challenge Information:
Learn CSS Grid by Building a Magazine - Step 26