So what is different between view port and percent 😨 | Sololearn: Learn to code for FREE!
0

So what is different between view port and percent 😨

It's confusing 1vh is equal 1% so what is the difference

8th Mar 2019, 1:19 PM
yossef Dawoad
yossef Dawoad - avatar
2 ответов
+ 3
Percents is counted from width/heigth of available place Viewport is counted from width/height of page
8th Mar 2019, 3:58 PM
Maneren
Maneren - avatar
+ 1
Thanks Maneren and satnam it's really helpful
8th Mar 2019, 9:53 PM
yossef Dawoad
yossef Dawoad - avatar