+ 1

Whats the difference between ... !?

padding : 10px; & padding : 10%;

10th Sep 2020, 2:11 AM
KK Technology
KK Technology - avatar
2 ответов
+ 4
10px takes up a static 10 pixels of space. 10% takes up 10% of the block of space..so if the block is 200px 10% will use 20 pixels
10th Sep 2020, 2:13 AM
Jason Kennedy
0
Css for formatting
11th Sep 2020, 3:53 PM
P. Aamir
P. Aamir - avatar