+ 3

Width & Height 100% ?

As the title says, can you actually set 100% in both to make it always 100% of the user screen? Or can you only pick one of them ?

11th Mar 2017, 4:25 PM
Simen Daehlin
Simen Daehlin - avatar
3 ответов
+ 16
You can do both
11th Mar 2017, 7:17 PM
Jafca
Jafca - avatar
+ 2
And I also figured it's decraped as you can use background-size:cover; thanks though Jafca
11th Mar 2017, 7:19 PM
Simen Daehlin
Simen Daehlin - avatar
0
You can set both width and height as percentage
12th Sep 2019, 9:46 AM
Aras Abdulrahman
Aras Abdulrahman - avatar