0
What this does mean in CSS? Does it reset default margin and padding? body{}
body{ }class in CSS
7 Réponses
0
No, it does not reset anything. Maybe this will help.
https://code.sololearn.com/W7v8Vxy352Gz/?ref=app
0
body{}
you can write some styles in it Example;
body{
background-color: "black"
color: "white"
}
0
Learn CSS to understand it
0
h1 {
background-color: white;
}
<h1> Hi </h1>
0
So you mean that it does nothing.
0
i know CSS. and tnx for your example. but i wondered that it has general and global function.
I appreciate for answers bros.
0
It doesn't do nothing. It just doesn't act as a reset, as you were asking in your original post. Were you able to see the difference in the linked code?