Learn CSS Grid by Building a Magazine - Step 26

I’m stuck on the beginning of the CSS page. Says to use the * selector as well as ::before and ::after but everything I’ve tried has not worked. I even typed exactly what the hint gave me and did some research but can’t find an example. So I’m hard stuck here.

*, ::after, ::before {
padding: 0; margin: 0; box-sizing: border-box;
}

WARNING

The challenge seed code and/or your solution exceeded the maximum length we can port over from the challenge.

You will need to take an additional step here so the code you wrote presents in an easy to read format.

Please copy/paste all the editor code showing in the challenge from where you just linked.

Replace these two sentences with your copied code.
Please leave the ``` line above and the ``` line below,
because they allow your code to properly format in the post.

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36

Challenge: Learn CSS Grid by Building a Magazine - Step 26

Link to the challenge:

This might be a bug in the tests. Try switching the order of ::after and ::before in the selection list.

1 Like

ok, well now I feel dumb because I didn’t have it backwards like that before. Just after I copied from another search result. Flipping it back around fixed it though. Thank you…it’s been a long night. Suppose it’s time to rest.

It must of been a bug or something…I had that typed in and tried to submit so many times. It’s even what the hint gives…even weirder looking back on it now.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.