SyntaxFix
Write A Post
Hire A Developer
Questions
You can use the view width to set the height. 100 vw is 100% of the width. height: 60vw; would make the height 60% of the width.
height: 60vw;