I am currently working on the front-end development of a new project. I'm using a mix of custom CSS and Bootstrap to create a responsive user interface. The current layout adjusts nicely with the browser width, but now I need to make it responsive in terms of height as well.
I'm facing some challenges in achieving this for specific elements like 'Features' and 'Video-placeholder' on the page. My goal is to set their heights dynamically so that all components maintain proportionality irrespective of the browser size.
You can view the design on Codepen: Interface design
Here's the code snippet for reference:
main > .container {
padding: 60px 15px 0;
}
* {
margin: 0;
padding: 0;
}
html {
margin: 0;
padding: 0;
}
/* Other CSS rules here */
Thank you for your help!