Is it possible to implement the following logic usic HTML and CSS?
width: 100%;
height: 30% of width;
What I want to implement: If I decrease the width, the height will also decrease proportionally.
Is it possible to implement the following logic usic HTML and CSS?
width: 100%;
height: 30% of width;
What I want to implement: If I decrease the width, the height will also decrease proportionally.