bootstrap carousel dynamic height jquery code example
Example: bootstrap carousel dynamic height jquery
$(function(){
$(document).ready(function(){
var height = $(window).height();
var width = $(window).width();
var header =$('header.site-navbar').height();
var finalwidth =height-header;
// alert(finalwidth);
$('.carousel-item img').css('height',''+finalwidth+'px');
});
});