html - Boostrap Nav + Carousel + Footer keep relative heights -


i know whether possible keep relative heights 3 main components of home html. in case, bootstrap nav + carousel + footer. modify height of carousel around 70% of screen other 20% nav , 10% footer. there no image resizing problems since carousel has 1 background color , not image. html structure looks this:

here fiddle:

 <div></div> https://jsfiddle.net/q4t8bupc/ 

thanks!

please check this.

.header{height:20vh; background:#666}  .content{height:70vh; background:#ed0000;}  .footer{height:10vh; background:#03c;}
<div class="header"></div>  <div class="content"></div>  <div class="footer"></div>


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -