having some trouble here
i read
should i do all this on every project?
if not, when should i and when i should not?
sorry if i am not clear or sound confused
i am trying to learn
i read
The initial whole page should be min-height:100vh and not the middle element. You should wrap a div around the whole page and give it min-height:100vh and display:flex with flex-direction:column. Then you can set flex:1 0 0 on the middle section which makes it automatically fill the space between the header and footer. The header and footer need no flex rules and they will be content height.
should i do all this on every project?
if not, when should i and when i should not?
sorry if i am not clear or sound confused
i am trying to learn