HTML code
This is the html code used to create this bootstrap snippet, You can copy and paste the following html code inside a page with bootstrap 4.1.1 included, to get the result that you can see in the preview selection
Download<div class="container">
<div class="row">
<div class="col-md-4">
<div class="carbon-example flex-wrapper">
<img src="https://www.bootdey.com/image/200x200/FFB6C1/000000" alt="example design logo">
<div class="inner-wrapper">
<p>Test the UX of your website. Diagnose problem areas & prove new designs work.</p>
<p class="fine-print">ads via Carbon</p>
</div>
</div>
</div>
<div class="col-md-4">
<div class="carbon-example flex-wrapper">
<img src="https://www.bootdey.com/image/200x200/87CEFA/000000" alt="example design logo">
<div class="inner-wrapper">
<p>Test the UX of your website. Diagnose problem areas & prove new designs work.</p>
<p class="fine-print">block via Carbon</p>
</div>
</div>
</div>
<div class="col-md-4">
<div class="carbon-example flex-wrapper">
<img src="https://www.bootdey.com/image/200x200/B0C4DE/000000" alt="example business logo">
<div class="inner-wrapper">
<p>The new generation of project management tools is here and it’s visual.</p>
<p class="fine-print">block via Carbon</p>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-4">
<div class="carbon-example flex-wrapper">
<img src="https://www.bootdey.com/image/200x200/48D1CC/000000" alt="example development logo">
<div class="inner-wrapper">
<p>Own your code from end to end. Resolve errors way faster right in your workflow.</p>
<p class="fine-print">block via Carbon</p>
</div>
</div>
</div>
<div class="col-md-4">
<div class="carbon-example flex-wrapper">
<img src="https://www.bootdey.com/image/200x200/D3D3D3/000000" alt="example design logo">
<div class="inner-wrapper">
<p>Beautifully simple creative portfolio websites, included with Creative Cloud.</p>
<p class="fine-print">block via Carbon</p>
</div>
</div>
</div>
<div class="col-md-4">
<div class="carbon-example flex-wrapper">
<img src="https://www.bootdey.com/image/200x200/48D1CC/000000" alt="example design logo">
<div class="inner-wrapper">
<p>Introduce yourself. Properly. MOO premium Business Cards, Postcards, Stickers and more.</p>
<p class="fine-print">block via Carbon</p>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-4">
<div class="carbon-example flex-wrapper">
<img src="https://www.bootdey.com/image/200x200/87CEFA/000000" alt="example development logo">
<div class="inner-wrapper">
<p>What will your code do? Get started for free.</p>
<p class="fine-print">block via Carbon</p>
</div>
</div>
</div>
<div class="col-md-4">
<div class="carbon-example flex-wrapper">
<img src="https://www.bootdey.com/image/200x200/B0C4DE/000000" alt="example business logo">
<div class="inner-wrapper">
<p>Want your team to do more in less time? Try Asana today.</p>
<p class="fine-print">block via Carbon</p>
</div>
</div>
</div>
<div class="col-md-4">
<div class="carbon-example flex-wrapper">
<img src="https://www.bootdey.com/image/200x200/ADD8E6/000000" alt="example design logo">
<div class="inner-wrapper">
<p>Make your next move with an impressive portfolio website. Start your free trial.</p>
<p class="fine-print">block via Carbon</p>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-4">
<div class="carbon-example flex-wrapper">
<img src="https://www.bootdey.com/image/200x200/48D1CC/000000" alt="example business logo">
<div class="inner-wrapper">
<p>Understand user behavior & ship product faster. Try Amplitude free today.</p>
<p class="fine-print">block via Carbon</p>
</div>
</div>
</div>
<div class="col-md-4">
<div class="carbon-example flex-wrapper">
<img src="https://www.bootdey.com/image/200x200/FFDEAD/000000" alt="example business logo">
<div class="inner-wrapper">
<p>All the tools your team needs in one place. Slack: Where work happens.</p>
<p class="fine-print">block via Carbon</p>
</div>
</div>
</div>
<div class="col-md-4">
<div class="carbon-example flex-wrapper">
<img src="https://www.bootdey.com/image/200x200/DDA0DD/000000" alt="example design logo">
<div class="inner-wrapper">
<p>FullStory shows you bugs, so you don't have to repro them yourself. Use it now!</p>
<p class="fine-print">block via Carbon</p>
</div>
</div>
</div>
</div>
</div>
CSS code
This is the css code used to create this bootstrap snippet, You can copy and paste the following css code inside a page with bootstrap 4.1.1 included, to get the result that you can see in the preview selection
Downloadbody{margin-top:20px;}
.carbon-example {
padding: 8px;
background-color: #fff;
width: 295px;
box-sizing: border-box;
border-radius: 6px;
-webkit-box-align: start;
-ms-flex-align: start;
-webkit-align-items: flex-start;
-moz-align-items: flex-start;
align-items: flex-start;
position: relative;
z-index: 5;
box-shadow: 0 2px 20px 0 rgba(0, 0, 0, 0.1);
margin-top:20px;
}
.carbon-example img {
margin-right: 9px;
max-width: 125px;
}
.carbon-example .inner-wrapper {
text-align: left;
}
.carbon-example .inner-wrapper p {
font-size: 12px;
line-height: 1.33;
margin: 8px 0;
}
.carbon-example .inner-wrapper p.fine-print {
font-size: 8px;
color: #C5CDD0;
line-height: 1.25;
text-transform: uppercase;
font-weight: 500;
}
.flex-wrapper {
display: -webkit-box;
display: -webkit-flex;
display: -moz-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
-moz-align-items: center;
align-items: center;
-webkit-box-pack: justify;
-ms-flex-pack: justify;
-webkit-justify-content: space-between;
-moz-justify-content: space-between;
justify-content: space-between;
}
@media screen and (max-width: 991px) {
.flex-wrapper.two-col {
display: block;
text-align: center;
}
}
.flex-wrapper.two-col > * {
width: 50%;
}
.flex-wrapper.two-col > *:first-of-type {
padding-right: 130px;
}
@media screen and (max-width: 991px) {
.flex-wrapper.two-col > * {
width: 100%;
}
.flex-wrapper.two-col > *:first-of-type {
padding-right: 0;
}
}
.flex-wrapper.two-col.reversed > *:first-of-type {
order: 2;
padding-right: 0;
}
@media screen and (min-width: 992px) {
.flex-wrapper.two-col.reversed > *:first-of-type {
padding-left: 130px;
}
}
.flex-wrapper.three-col {
text-align: left;
-webkit-box-align: start;
-ms-flex-align: start;
-webkit-align-items: flex-start;
-moz-align-items: flex-start;
align-items: flex-start;
margin-top: 40px;
}
@media screen and (max-width: 767px) {
.flex-wrapper.three-col {
-webkit-flex-wrap: wrap;
-moz-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
}
}
.flex-wrapper.three-col > * {
width: 33.3%;
}
@media screen and (max-width: 767px) {
.flex-wrapper.three-col > * {
width: 100%;
}
}
@media screen and (min-width: 768px) {
.flex-wrapper.three-col li {
padding-left: 20px;
padding-right: 20px;
}
.flex-wrapper.three-col li:first-child {
padding-left: 0;
}
.flex-wrapper.three-col li:last-child {
padding-right: 0;
}
}
.flex-wrapper.three-col .flex-wrapper {
-webkit-box-align: start;
-ms-flex-align: start;
-webkit-align-items: flex-start;
-moz-align-items: flex-start;
align-items: flex-start;
margin-top: 0;
}
@media screen and (max-width: 767px) {
.flex-wrapper.three-col .flex-wrapper {
-webkit-box-pack: center;
-ms-flex-pack: center;
-webkit-justify-content: center;
-moz-justify-content: center;
justify-content: center;
}
.flex-wrapper.three-col .flex-wrapper:not(:first-of-type) {
margin-top: 40px;
}
}
.flex-wrapper.three-col .flex-wrapper .icon {
top: 0;
transform: none;
}
About this bootstrap example/template
This example/template, carbonads ad example, was published on Nov 28th 2018, 14:54 by Bootdey Admin 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 code example currectly have 11.2K views, Using this bootstrap snippet you have the following benefits:
Bootstrap 4.1.1
<link rel='stylesheet' href='https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css'>
<script src='https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js'></script>
This code example 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
semantic html 5
Built on html / css3 the code quality is really amazing
Simple Integration
This code example can be simply integrated on existing sites and new ones too, all you need to do is copy the code and start working