Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
In this case, only will be enough body
, because. html
contains it and will have its dimensions.
If you are talking about the minimum size, then it depends on what you want to achieve.
For example, if you look at the page through Opera, then he does not see background-image: url (); if you specify it to body , here is an example in which the background for the body tag is set and the background for the html is also commented out, you can check it and uncomment it and see in Opera : https://codepen.io/topicstarter/pen/aYyMem?editors =1100
This does not work well for background parallax in mobile devices - background duplication occurs
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question