Codepen Body Margin

How to remove margin in the Codepen viewport.

I tried setting { margin: 0, width: 100% | 100vw | auto } on my parent div.
There still exists WHITE space around my master Parent Div.

Your browser information:

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

Challenge: Build a Random Quote Machine

Link to the challenge:

Try doing a base reset for the body of the entire document right at the beginning of your css.

By base reset, I mean just set everything - margin, border, padding, etc. to 0 for the body selector itself.

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