Bootstrap snippet. bs4 Carousel Featured News

This snippet was created to help web designers, front-end and back-end developer save time. Use it in your project and build your app faster,
You can also download the HTML, CSS, and JS code.
tags: bs4,col, column,divider,4.1.1

wave

HTML code

This is the html code used to create this bootstrap snippet, You can copy, paste, change, customize and run the following HTML code to get a result like the one shown in the preview selection

<div class="container">
<div class="row">
	<div class="col-sm-12 col-md-6 col-lg-6  py-0 pl-3 pr-1 featcard">
	   <div id="featured" class="carousel slide carousel-fade" data-ride="carousel">
 		 <div class="carousel-inner">
			<div class="carousel-item active">			  
			<div class="card bg-dark text-white">
		        <img class="card-img img-fluid" src="https://via.placeholder.com/350x350/FFB6C1/000000" alt="">
		        <div class="card-img-overlay d-flex linkfeat">
		          <a href="#" class="align-self-end">
		        	<span class="badge">Bootdey</span> 
		            <h4 class="card-title">Lorem ipsum dolor sit amet</h4>
		            <p class="textfeat" style="display: none;">Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa</p>
		          </a>
		        </div>
		      </div>
	  		</div>
	  		<div class="carousel-item">			  
	  		<div class="card bg-dark text-white">
		        <img class="card-img img-fluid" src="https://via.placeholder.com/350x350/87CEFA/000000" alt="">
		        <div class="card-img-overlay d-flex linkfeat">
		          <a href="#" class="align-self-end">
		        	<span class="badge">Bootdey</span> 
		            <h4 class="card-title">Lorem ipsum dolor sit amet</h4>
		            <p class="textfeat" style="display: none;">Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa</p>
		          </a>
		        </div>
		      </div>
	  		</div>
	  		<div class="carousel-item">			  
	  		<div class="card bg-dark text-white">
		        <img class="card-img img-fluid" src="https://via.placeholder.com/350x350/FFB6C1/000000" alt="">
		        <div class="card-img-overlay d-flex linkfeat">
		          <a href="#" class="align-self-end">
		        	<span class="badge">Bootdey</span> 
		            <h4 class="card-title">Lorem ipsum dolor sit amet</h4>
		            <p class="textfeat" style="display: none;">Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa</p>
		          </a>
		        </div>
		      </div>
	  		</div>
	  		<div class="carousel-item">			  
	  		<div class="card bg-dark text-white">
		        <img class="card-img img-fluid" src="https://via.placeholder.com/350x350/FF7F50/000000" alt="">
		        <div class="card-img-overlay d-flex linkfeat">
		          <a href="#" class="align-self-end">
		        	<span class="badge">Industri</span> 
		            <h4 class="card-title">Lorem ipsum dolor sit amet</h4>
		            <p class="textfeat" style="display: none;">Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa</p>
		          </a>
		        </div>
		      </div>
	  		</div>
	  		<div class="carousel-item">			  
	  		<div class="card bg-dark text-white">
		        <img class="card-img img-fluid" src="https://via.placeholder.com/350x350/20B2AA/000000" alt="">
		        <div class="card-img-overlay d-flex linkfeat">
		          <a href="#" class="align-self-end">
		        	<span class="badge">Bootdey</span> 
		            <h4 class="card-title">Lorem ipsum dolor sit amet</h4>
		            <p class="textfeat" style="display: none;">Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa</p>
		          </a>
		        </div>
		      </div>
	  		</div>
	  		<div class="carousel-item">			  
	  		<div class="card bg-dark text-white">
		        <img class="card-img img-fluid" src="https://via.placeholder.com/350x350/87CEFA/000000" alt="">
		        <div class="card-img-overlay d-flex linkfeat">
		          <a href="#" class="align-self-end">
		        	<span class="badge">Bootdey</span> 
		            <h4 class="card-title">Lorem ipsum dolor sit amet</h4>
		            <p class="textfeat" style="display: none;">Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa</p>
		          </a>
		        </div>
		      </div>
	  		</div>
	  		</div>
	  </div>
	</div>
	<div class="col-6 py-0 px-1 d-none d-lg-block">
		<div class="row">
			<div class="col-6 pb-2 mg-1	">
				<div class="card bg-dark text-white">
		        <img class="card-img img-fluid" src="https://via.placeholder.com/350x350/FFA07A/000000" alt="">
		        <div class="card-img-overlay d-flex">
		          <a href="#" class="align-self-end">
		        	<span class="badge">Finansial</span> 
		            <h6 class="card-title">BI Atur Standarisasi QR Code</h6>
		          </a>
		        </div>
		      	</div>
			</div>
			<div class="col-6 pb-2 mg-2	">
				<div class="card bg-dark text-white">
		        <img class="card-img img-fluid" src="https://via.placeholder.com/350x350/BA55D3/000000" alt="">
		        <div class="card-img-overlay d-flex">
		          <a href="#" class="align-self-end">
		        	<span class="badge">Industri</span> 
		            <h6 class="card-title">PTSP BP Batam Masuk 10 Terbaik di Indonesia</h6>
		          </a>
		        </div>
		      	</div>
			</div>
			<div class="col-6 pb-2 mg-3	">
				<div class="card bg-dark text-white">
		        <img class="card-img img-fluid" src="https://via.placeholder.com/350x350/C71585/000000" alt="">
		        <div class="card-img-overlay d-flex">
		          <a href="#" class="align-self-end">
		        	<span class="badge">Ekspor</span> 
		            <h6 class="card-title">Review GSP: Amerika Ingin Perdagangan Saling Menguntungkan</h6>
		          </a>
		        </div>
		      	</div>
			</div>
			<div class="col-6 pb-2 mg-4	">
				<div class="card bg-dark text-white">
		        <img class="card-img img-fluid" src="https://via.placeholder.com/350x350/000080/000000" alt="">
		        <div class="card-img-overlay d-flex">
		          <a href="#" class="align-self-end">
		        	<span class="badge">Pertumbuhan Ekonomi</span> 
		            <h6 class="card-title">DPR Setujui Penambahan Anggaran BP Batam Rp565 Miliar</h6>
		          </a>
		        </div>
		      	</div>
			</div>
		</div>
	</div>
</div>
</div>

CSS code

This is the css code used to create this bootstrap snippet, You can copy, paste, change, customize and run the following CSS code to get a result Like the one shown in the preview selection

body{
background:#ddd;
}
a, a:focus , a:hover{ 
  text-decoration: none;
  color: inherit;
}
 a:hover, .btn{
	outline:none!important;
}

/*ROUNDED CORNER*/
*{
  -webkit-border-radius: 0 !important;
     -moz-border-radius: 0 !important;
          border-radius: 0 !important;
}
/*CATEGORIES BADGE*/
.badge {
	font-weight: 600;
	font-size: 13px;
	color: white;
	background-color: #289dcc;
}
/*FEATURED*/
.mg-2, .mg-4{
	margin-left:-20px;
}
.linkfeat{
	background: rgba(76,76,76,0);
	background: -moz-linear-gradient(top, rgba(76,76,76,0) 0%, rgba(48,48,48,0) 49%, rgba(19,19,19,1) 100%);
	background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(76,76,76,0)), color-stop(49%, rgba(48,48,48,0)), color-stop(100%, rgba(19,19,19,1)));
	background: -webkit-linear-gradient(top, rgba(76,76,76,0) 0%, rgba(48,48,48,0) 49%, rgba(19,19,19,1) 100%);
	background: -o-linear-gradient(top, rgba(76,76,76,0) 0%, rgba(48,48,48,0) 49%, rgba(19,19,19,1) 100%);
	background: -ms-linear-gradient(top, rgba(76,76,76,0) 0%, rgba(48,48,48,0) 49%, rgba(19,19,19,1) 100%);
	background: linear-gradient(to bottom, rgba(76,76,76,0) 0%, rgba(48,48,48,0) 49%, rgba(19,19,19,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4c4c4c', endColorstr='#131313', GradientType=0 );
}

Javascript/Jquery code

This is the css code used to create this bootstrap snippet, You can copy, paste, change, customize and run the following JS code to get a result Like the one shown in the preview selection

//FEATURED HOVER
$(document).ready(function(){
      $(".linkfeat").hover(
        function () {
            $(".textfeat").show(500);
        },
        function () {
            $(".textfeat").hide(500);
        }
    );
}); 

Similar snippets

Bootstrap shop cart example

shop cart

Bootstrap bs4 shop page example

bs4 shop page

Bootstrap shop user profile with ticket example

shop user profile with ticket

Bootstrap bs4 profile detail page example

bs4 profile detail page

Bootstrap Simple Comment panel example

Simple Comment panel

Bootstrap profile with data and skills example

profile with data and skills

Bootstrap bs4 card widget with user role example

bs4 card widget with user role

Bootstrap Dashboard user count colored circle image example

Dashboard user count colored circle image

Comments

Bootstrap snippets. bs4 Carousel Featured News

About this bootstrap snippet

This bootstrap snippet, bs4 Carousel Featured News, was published on Apr 11th 2014, 18:53 by Dey Dey and it is free.

We hope you will enjoy this awesome snippet and stay tuned for the latest updates, bootdey snippets are already used in thousands of blogs, websites and projects. We believe it will save your precious time and gives trendy look to your next web project.

We always try to offer the best beautiful and responsive source of Bootstrap code examples and components.

This snippet currectly have 1.2K views, Using this bootstrap snippet you have the following benefits:

Bootstrap 4.1.1

This snippet is based on bootstrap 4.1.1 and the grid system of this framework

Responsive

Based on bootstrap framework makes all the layouts perfectly responsive for all devices

Crossbrowser compatibility

Tested on all major browsers, it works smoothly on all of them

Jquery plugins

Great built-in plugins with jquery framework, you can easy to change all declarations

semantic html 5

Built on html / css3 the code quality is really amazing

Simple Integration

This snippet can be simply integrated on existing sites and new ones too, all you need to do is copy the code and start working