I have created a nested list in html.
Why does setting margin: 0 using the *{} selector remove the list indention but not if I use the body selector?
body {
padding: 0px;
}
<ul>
<li>Home</li>
<li>About</li>
<li>Resume
<ul>
<li>Experience</li>
<li>Skills</li>
<li>Portfolio</li>
</ul>
</li>
<li>Interests
<ul>Photography</ul>
<ul>Favourites</ul>
</li>
</ul>
` element
– Roy Bogado Apr 18 '19 at 09:04