Think about it?
It makes no difference!
Padding top or paddding bottom on an empty element will look the same.
Think about it?
It makes no difference!
Padding top or paddding bottom on an empty element will look the same.
Should height 0 be added to it?
height:0;
.ratio-keeper {
position: relative;
padding-top: 56.25%;
height:0;
}
As it has no in flow content then it’s height should already be zero (in modern browsers).
This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.