While browsing through Quora and Facebook feeds, I noticed the fixed size of user display pictures:
width: 40px;
height: 40px;
Even when resizing the browser window for a responsive design, these pictures maintain their size at 40px x 40px
.
What other factors contribute to keeping the pictures' dimensions consistent?
As far as I know, the unit px
is not relative to the parent element.