What's difference between following the two selectors?
* {
margin: 0;
padding: 0;
}
html, body {
margin: 0;
padding: 0;
}
What's difference between following the two selectors?
* {
margin: 0;
padding: 0;
}
html, body {
margin: 0;
padding: 0;
}
*
selects everything, including tags, classes, ids and eveything you can think of.
html, body
only selects the body and the html tags.