+ 3
How to show body of html on middle screen?
I want to show my html body in middle of computer screen only How to do it? please explain...
3 odpowiedzi
+ 2
+ 2
body{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%)
}
+ 2
Use css .