"Full screen Background Carousel"
Bootstrap 3.3.0 Snippet by Mehedi-BN

<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div id="background-carousel"> <div id="myCarousel" class="carousel slide" data-ride="carousel"> <div class="carousel-inner"> <div class="item active" style="background-image:url(http://lorempixel.com/1200/800/food/1/)"></div> <div class="item" style="background-image:url(http://lorempixel.com/1200/800/food/2/)"></div> <div class="item" style="background-image:url(http://lorempixel.com/1200/800/food/4/)"></div> </div> </div> </div> <div id="content-wrapper"> <!-- PAGE CONTENT --> <div class="container"> <div class="page-header"><p class="title">Fullscreen Background Carousel</p></div> <div class="well"><p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.<ba></p> </div><!-- End Well --> </div><!-- End Container --> <!-- PAGE CONTENT --> </div>
html,body { height:100%; width:100%; position:relative; } #background-carousel{ position:fixed; width:100%; height:100%; z-index:-1; } .carousel, .carousel-inner { width:100%; height:100%; z-index:0; overflow:hidden; } .item { width:100%; height:100%; background-position:center center; background-size:cover; z-index:0; } #content-wrapper { position:absolute; z-index:1 !important; min-width:100%; min-height:100%; } .well { opacity:0.85 } .title{ color:white; font-size:40px; }
$('#myCarousel').carousel({ pause: 'none' })

Related: See More


Questions / Comments: