I'm still a bit confused about how percentages work.. is it a percent of the page size, be its native width or height? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

I'm still a bit confused about how percentages work.. is it a percent of the page size, be its native width or height?

4th Aug 2016, 3:52 PM
Sally Ariza
Sally Ariza - avatar
1 Answer
+ 1
it is of the object say the horizontal line <hr/> in relation to the page..... so if it's width, then it determines width of the line to be the percentage entered using the width of the page as a base for comparison
6th Aug 2016, 12:35 PM
David M Parseen
David M Parseen - avatar