+ 1

How I can do gradient full screen?

25th Feb 2021, 12:23 PM
New_Story
New_Story - avatar
2 ответов
+ 3
body{ height:100vh; width:100vw; position:absolute; left:0; top:0; background-image:linear-.. }
25th Feb 2021, 12:33 PM
Abhay
Abhay - avatar
+ 3
Major % will use the height of parent element , and html height by default isn't much , so it won't work .
25th Feb 2021, 1:12 PM
Abhay
Abhay - avatar