SyntaxFix
Write A Post
Hire A Developer
Questions
if you know the spect ratio you can use padding-bottom with percentage to set the hight depending on with of the diff.
<div> <div style="padding-bottom: 33%;"> i have 33% height of my parents width </div> </div>