Excellent points sir, I have clearly learned more about px,%,em and rem and those difference. Thankyou so much sir ...
@prakash1to74 жыл бұрын
superb explanation on pixels, percentage and em, Root Em having clear clarity.
@aravind15784 жыл бұрын
Absolute Stunner ! Well explained.
@TamilDeveloper4 жыл бұрын
Glad you liked it!
@manirajsingh28315 жыл бұрын
Pixel Explanation super sir.
@kathiravan60034 жыл бұрын
super sir.......great work that u r doing...keep it up
@raveenraj294 Жыл бұрын
which font size is better to use sir?
@apoons1970 Жыл бұрын
I understood the font-size concept. But my question why do we use 4 ways of representing it. It would have been % itself which would work finer in all the devices or any kind of resolution. Why? Why? Please answer. Your answer is more valuable. Thank you!
@TamilDeveloper Жыл бұрын
It is for historical reasons. Pixels came first and then high resolution monitors came. Pixels had the shortcomings in those devices. Consider a 6" phone having 1080pixels and you have font size of 12 px. Then % came, but it is hard to calculate the exact size in %. Then em came, but has shortcomings when used in the nested elements such as list within a list. Then rem came to rectify it