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
Post a Comment