HTML preprocessors can make writing HTML more powerful or convenient. For instance, Markdown is designed to be easier to write and read for text documents and you could write a loop in Pug.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. So you don't have access to higher-up elements like the <html>
tag. If you want to add classes there that can affect the whole document, this is the place to do it.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. If you need things in the <head>
of the document, put that code here.
The resource you are linking to is using the 'http' protocol, which may not work when the browser is using https.
CSS preprocessors help make authoring CSS easier. All of them offer things like variables and mixins to provide convenient abstractions.
It's a common practice to apply CSS to a page that styles elements such that they are consistent across all browsers. We offer two of the most popular choices: normalize.css and a reset. Or, choose Neither and nothing will be applied.
To get the best cross-browser support, it is a common practice to apply vendor prefixes to CSS properties and values that require them to work. For instance -webkit-
or -moz-
.
We offer two popular choices: Autoprefixer (which processes your CSS server-side) and -prefix-free (which applies prefixes via a script, client-side).
Any URLs added here will be added as <link>
s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.
You can apply CSS to your Pen from any stylesheet on the web. Just put a URL to it here and we'll apply it, in the order you have them, before the CSS in the Pen itself.
You can also link to another Pen here (use the .css
URL Extension) and we'll pull the CSS from that Pen and include it. If it's using a matching preprocessor, use the appropriate URL Extension and we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
JavaScript preprocessors can help make authoring JavaScript easier and more convenient.
Babel includes JSX processing.
Any URL's added here will be added as <script>
s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.
You can apply a script from anywhere on the web to your Pen. Just put a URL to it here and we'll add it, in the order you have them, before the JavaScript in the Pen itself.
If the script you link to has the file extension of a preprocessor, we'll attempt to process it before applying.
You can also link to another Pen here, and we'll pull the JavaScript from that Pen and include it. If it's using a matching preprocessor, we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
Search for and use JavaScript packages from npm here. By selecting a package, an import
statement will be added to the top of the JavaScript editor for this package.
Using packages here is powered by esm.sh, which makes packages from npm not only available on a CDN, but prepares them for native JavaScript ESM usage.
All packages are different, so refer to their docs for how they work.
If you're using React / ReactDOM, make sure to turn on Babel for the JSX processing.
If active, Pens will autosave every 30 seconds after being saved once.
If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.
If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.
Visit your global Editor Settings.
<article class="col-md-12">
<!-- Modern - Bootstrap Cards -->
<header>
<h2>Modern - Bootstrap 4 Cards</h2> </header>
<!-- BLOG CARDS -->
<h2>Blog Cards</h2>
<div class="cards-1 section-gray">
<div class="container">
<div class="row">
<div class="col-md-4">
<div class="card card-blog">
<div class="card-image">
<a href="#"> <img class="img" src="http://adamthemes.com/demo/code/cards/images/blog01.jpeg">
<div class="card-caption"> Quisque a bibendum magna </div>
</a>
<div class="ripple-cont"></div>
</div>
<div class="table">
<h6 class="category text-info">Cinema</h6>
<p class="card-description"> Lorem ipsum dolor sit amet, consectetur adipis cingelit. Etiam lacinia elit et placerat finibus. Praesent justo metus, pharetra vel nibh sit amet, tincidunt posuere nulla. Vivamus odio antement, feugiat eget nisi sit amet, scelerisque dignissim velit antement. </p>
</div>
</div>
<div class="card">
<div class="table table-info">
<h5 class="category-social">
<i class="fa fa-twitter"></i> Twitter
</h5>
<h4 class="card-caption">
<a href="#">"Vivamus odio ante, feugiat eget nisi sit amet, dignissim velit. Sus pendisse ultricies varius."</a>
</h4>
<div class="ftr">
<div class="author">
<a href="#"> <img src="http://adamthemes.com/demo/code/cards/images/avatar3.png" alt="" class="avatar img-raised"> <span>Debbon Amet</span> </a>
</div>
<div class="stats"> <i class="fa fa-heart"></i> 365 <i class="fa fa-share-alt"></i> 120 </div>
</div>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card">
<div class="table">
<h6 class="category text-danger">
<i class="fa fa-globe "></i> World
</h6>
<h4 class="card-caption">
<a href="#">Vivamus odio ante, feugiat eget nisi sit amet, dignissim velit.</a>
</h4>
<div class="ftr">
<div class="author">
<a href="#"> <img src="http://adamthemes.com/demo/code/cards/images/avatar3.png" alt="" class="avatar img-raised"> <span>Patrick Wood</span>
<div class="ripple-cont">
<div class="ripple ripple-on ripple-out" style="left: 574px; top: 364px; background-color: rgb(60, 72, 88); transform: scale(11.875);"></div>
</div>
</a>
</div>
<div class="stats"> <i class="fa fa-heart"></i> 342 <i class="fa fa-comment"></i> 45 </div>
</div>
</div>
</div>
<div class="card card-blog">
<div class="card-image">
<a href="#"> <img class="img" src="http://adamthemes.com/demo/code/cards/images/blog01.jpeg"> </a>
<div class="ripple-cont"></div>
</div>
<div class="table">
<h6 class="category text-success"><i class="fa fa-university"></i> Law</h6>
<h4 class="card-caption">
<a href="#">Vivamus odio ante, feugiat eget nisi sit amet, dignissim velit</a>
</h4>
<p class="card-description"> Lorem ipsum dolor sit amet, consectetur adipis cingelit. Etiam lacinia elit et placerat finibus.</p>
<div class="ftr">
<div class="author">
<a href="#"> <img src="http://adamthemes.com/demo/code/cards/images/avatar3.png" alt="..." class="avatar img-raised"> <span>Mary Dunst</span> </a>
</div>
<div class="stats"> <i class="fa fa-clock-o"></i> 10 min </div>
</div>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card card-blog">
<div class="card-image">
<a href="#"> <img class="img" src="http://adamthemes.com/demo/code/cards/images/blog01.jpeg"> </a>
<div class="ripple-cont"></div>
</div>
<div class="table">
<h6 class="category text-warning">
<i class="fa fa-soundcloud"></i> Music
</h6>
<h4 class="card-caption">
<a href="#">Vivamus odio ante, feugiat eget nisi sit amet, dignissim velit</a>
</h4>
<div class="ftr">
<div class="author">
<a href="#"> <img src="http://adamthemes.com/demo/code/cards/images/avatar3.png" alt="..." class="avatar img-raised"> <span>Debbon Amet</span> </a>
</div>
<div class="stats"> <i class="fa fa-clock-o"></i> 15 min </div>
</div>
</div>
</div>
<div class="card">
<div class="table table-danger">
<h5 class="category-social">
<i class="fa fa-newspaper-o"></i> News
</h5>
<h4 class="card-caption">
<a href="#">"Consectetur odio feugiat"</a>
</h4>
<p class="card-description"> Lorem ipsum dolor sit amet, consectetur adipis cingelit. Etiam lacinia elit et placerat finibus.</p>
<div class="ftr text-center"> <a href="#" class="btn btn-white btn-round">Read More</a> </div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- PLAIN CARDS -->
<h3>Plain Cards</h3>
<div class="cards-2 section-gray">
<div class="container">
<div class="row">
<div class="col-md-4">
<div class="card card-blog">
<div class="card-image">
<a href="#"> <img class="img img-raised" src="http://adamthemes.com/demo/code/cards/images/blog01.jpeg"> </a>
<div class="ripple-cont"></div>
</div>
<div class="table">
<h6 class="category text-info">Pharetra</h6>
<h4 class="card-caption">
<a href="#">Quisque id elit maximus, pretium diam at mollis elit</a>
</h4>
<p class="card-description"> Lorem ipsum dolor sit amet, consectetur adipis cingelit. Etiam lacinia elit et placerat finibus. Praesent justo metus, pharetra vel nibh sit amet, tincidunt posuere nulla. </p>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card card-blog">
<div class="card-image">
<a href="#"> <img class="img img-raised" src="http://adamthemes.com/demo/code/cards/images/blog01.jpeg"> </a>
</div>
<div class="table">
<h6 class="category text-danger">Lacinia</h6>
<h4 class="card-caption">
<a href="#">Quisque id elit maximus, pretium diam at mollis elit</a>
</h4>
<p class="card-description"> Lorem ipsum dolor sit amet, consectetur adipis cingelit. Etiam lacinia elit et placerat finibus. Praesent justo metus, pharetra vel nibh sit amet, tincidunt posuere nulla. </p>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card card-blog">
<div class="card-image">
<a href="#"> <img class="img img-raised" src="https://www.imageupload.co.uk/images/2018/10/15/blog02.jpg"> </a>
</div>
<div class="table">
<h6 class="category text-success">Consectetur</h6>
<h4 class="card-caption">
<a href="#">Quisque id elit maximus, pretium diam at mollis elit</a>
</h4>
<p class="card-description"> Lorem ipsum dolor sit amet, consectetur adipis cingelit. Etiam lacinia elit et placerat finibus. Praesent justo metus, pharetra vel nibh sit amet, tincidunt posuere nulla. </p>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- BACKGROUND CARDS -->
<h3>Background Cards</h3>
<div class="cards-3 section-gray">
<div class="container">
<div class="row">
<div class="col-md-6">
<div class="card card-background" style="background-image: url('http://adamthemes.com/demo/code/cards/images/blog07.jpeg')">
<div class="table">
<h6 class="category text-info">Category</h6>
<a href="#">
<h3 class="card-caption">Vivamus odio ante, feugiat eget nisisit</h3> </a>
<p class="card-description"> Lorem ipsum dolor sit amet, consectetur adipis cingelit. Etiam lacinia elit et placerat finibus. Praesent justo metus, pharetra vel nibh sit amet, tincidunt posuere nulla. Vivamus odio antement, feugiat eget, scelerisque dignissim velit antement.</p>
<a href="#" class="btn btn-white btn-simple"> <i class="fa fa-align-left"></i> Read Article </a>
<a href="#pablo" class="btn btn-warning btn-round"> <i class="fa fa-cogs"></i> Our Project
<div class="ripple-container"></div>
</a>
</div>
</div>
</div>
<div class="col-md-6">
<div class="card card-background" style="background-image: url('http://adamthemes.com/demo/code/cards/images/blog07.jpeg')">
<div class="table">
<h6 class="category text-info">Category</h6>
<h3 class="card-caption">Quisque id elit maximus, pretium mollis elit</h3>
<p class="card-description"> Lorem ipsum dolor sit amet, consectetur adipis cingelit. Etiam lacinia elit et placerat finibus. Praesent justo metus, pharetra vel nibh sit amet, tincidunt posuere nulla. Vivamus odio antement, feugiat eget amet, scelerisque velit antement.</p>
<a href="#" class="btn btn-danger btn-round"> <i class="fa fa-align-left"></i> Read Article </a>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- PROFILE CARDS 1 -->
<h3>Profile Cards</h3>
<div class="cards-5 section-gray">
<div class="container">
<div class="row">
<div class="col-md-4">
<div class="card card-profile">
<div class="card-avatar">
<a href="#"> <img class="img" src="http://adamthemes.com/demo/code/cards/images/avatar3.png"> </a>
</div>
<div class="table">
<h4 class="card-caption">Patrick Wood</h4>
<h6 class="category text-muted">CEO / Co-Founder</h6>
<p class="card-description"> Don't be scared of the truth because we need to restart the human foundation in truth And I love you like Kanye loves Kanye I love Rick Owens’ bed design but the back is... </p>
<div class="ftr"> <a href="#" class="btn btn-just-icon btn-pinterest btn-round"><i class="fa fa-pinterest"></i>
</a> <a href="#" class="btn btn-just-icon btn-twitter btn-round"><i class="fa fa-twitter"></i></a> <a href="#" class="btn btn-just-icon btn-dribbble btn-round"><i class="fa fa-dribbble"></i></a> </div>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card card-profile">
<div class="card-avatar">
<a href="#"> <img class="img" src="http://adamthemes.com/demo/code/cards/images/avatar3.png"> </a>
</div>
<div class="table">
<h4 class="card-caption">Debbon Amet</h4>
<h6 class="category text-muted">Front End Developer</h6>
<p class="card-description"> Don't be scared of the truth because we need to restart the human foundation in truth And I love you like Kanye loves Kanye I love Rick Owens’ bed design but the back is... </p>
<div class="ftr"> <a href="#" class="btn btn-just-icon btn-dribbble btn-round"><i class="fa fa-dribbble"></i></a> <a href="#" class="btn btn-just-icon btn-twitter btn-round"><i class="fa fa-twitter"></i></a> </div>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card card-profile">
<div class="card-avatar">
<a href="#"> <img class="img" src="http://adamthemes.com/demo/code/cards/images/avatar3.png"> </a>
</div>
<div class="table">
<h4 class="card-caption">Mary Dunst</h4>
<h6 class="category text-muted">Web Designer</h6>
<p class="card-description"> Don't be scared of the truth because we need to restart the human foundation in truth And I love you like Kanye loves Kanye I love Rick Owens’ bed design but the back is... </p>
<div class="ftr"> <a href="#" class="btn btn-just-icon btn-dribbble btn-round"><i class="fa fa-dribbble"></i></a> <a href="#" class="btn btn-just-icon btn-twitter btn-round"><i class="fa fa-twitter"></i></a> <a href="#" class="btn btn-just-icon btn-pinterest btn-round"><i class="fa fa-pinterest"></i></a> </div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- PROFILE CARDS 2 -->
<h3>Profile Cards</h3>
<div class="cards-6 section-gray">
<div class="container">
<div class="row">
<div class="col-md-4">
<div class="card card-profile">
<div class="card-image">
<a href="#"> <img class="img" src="http://adamthemes.com/demo/code/cards/images/avatar3.png">
<div class="card-caption"> John Smith </div>
</a>
</div>
<div class="table">
<h6 class="category text-danger">CEO / Co-Founder</h6>
<p class="card-description"> Don't be scared of the truth because we need to restart the human foundation in truth And I love you like Kanye loves Kanye I love Rick Owens’ bed design but the back is... </p>
<div class="ftr"> <a href="#" class="btn btn-just-icon btn-simple btn-twitter"><i class="fa fa-twitter"></i></a> <a href="#" class="btn btn-just-icon btn-simple btn-dribbble"><i class="fa fa-dribbble"></i></a> <a href="#" class="btn btn-just-icon btn-simple btn-instagram"><i class="fa fa-instagram"></i></a> </div>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card card-profile">
<div class="card-image">
<a href="#"> <img class="img" src="http://adamthemes.com/demo/code/cards/images/avatar3.png">
<div class="card-caption"> Clementine Thson </div>
</a>
</div>
<div class="table">
<h6 class="category text-success">Graphic Designer</h6>
<p class="card-description"> Don't be scared of the truth because we need to restart the human foundation in truth And I love you like Kanye loves Kanye I love Rick Owens’ bed design but the back is... </p>
<div class="ftr"> <a href="#" class="btn btn-just-icon btn-simple btn-twitter"><i class="fa fa-twitter"></i></a> <a href="#" class="btn btn-just-icon btn-simple btn-dribbble"><i class="fa fa-dribbble"></i></a> <a href="#" class="btn btn-just-icon btn-simple btn-instagram"><i class="fa fa-instagram"></i></a> </div>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card card-profile">
<div class="card-image">
<a href="#"> <img class="img" src="http://adamthemes.com/demo/code/cards/images/avatar3.png">
<div class="card-caption"> Elanor Aline</div>
</a>
</div>
<div class="table">
<h6 class="category text-info">Front End Developer</h6>
<p class="card-description"> Don't be scared of the truth because we need to restart the human foundation in truth And I love you like Kanye loves Kanye I love Rick Owens’ bed design but the back is... </p>
<div class="ftr"> <a href="#" class="btn btn-just-icon btn-simple btn-twitter"><i class="fa fa-twitter"></i></a> <a href="#" class="btn btn-just-icon btn-simple btn-dribbble"><i class="fa fa-dribbble"></i></a> <a href="#" class="btn btn-just-icon btn-simple btn-instagram"><i class="fa fa-instagram"></i></a> </div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- PROFILE CARDS 3 -->
<h3>Profile Cards</h3>
<div class="cards-7 section-gray">
<div class="container">
<div class="row">
<div class="col-md-4">
<div class="card card-profile">
<div class="card-image">
<a href="#"> <img class="img" src="http://adamthemes.com/demo/code/cards/images/avatar3.png"> </a>
</div>
<div class="table">
<h4 class="card-caption">John Smith</h4>
<h6 class="category text-gray">CEO / Co-Founder</h6>
<div class="ftr"> <a href="#" class="btn btn-just-icon btn-twitter btn-round"><i class="fa fa-twitter"></i></a> <a href="#" class="btn btn-just-icon btn-facebook btn-round"><i class="fa fa-facebook-square"></i></a> <a href="#" class="btn btn-just-icon btn-google btn-round"><i class="fa fa-google"></i></a> </div>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card card-profile">
<div class="card-image">
<a href="#"> <img class="img" src="http://adamthemes.com/demo/code/cards/images/avatar3.png"> </a>
</div>
<div class="table">
<h4 class="card-caption">Clementine Thson</h4>
<h6 class="category text-gray">Graphic Designer</h6>
<div class="ftr"> <a href="#" class="btn btn-just-icon btn-twitter btn-round"><i class="fa fa-twitter"></i></a> <a href="#" class="btn btn-just-icon btn-facebook btn-round"><i class="fa fa-facebook-square"></i></a> <a href="#" class="btn btn-just-icon btn-google btn-round"><i class="fa fa-pinterest"></i></a> </div>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card card-profile">
<div class="card-image">
<a href="#"> <img class="img" src="http://adamthemes.com/demo/code/cards/images/avatar3.png"> </a>
</div>
<div class="table">
<h4 class="card-caption">Elanor Aline</h4>
<h6 class="category text-gray">Front End Developer</h6>
<div class="ftr"> <a href="#" class="btn btn-just-icon btn-twitter btn-round"><i class="fa fa-twitter"></i></a> <a href="#" class="btn btn-just-icon btn-facebook btn-round"><i class="fa fa-facebook-square"></i></a> <a href="#" class="btn btn-just-icon btn-google btn-round"><i class="fa fa-google"></i></a> </div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- PRODUCT CARDS -->
<h3>Product Cards</h3>
<div class="cards-8 section-gray">
<div class="container">
<div class="row">
<div class="col-md-3">
<div class="card card-product">
<div class="card-image">
<a href="#"> <img class="img" src="http://adamthemes.com/demo/code/cards/images/avatar3.png"> </a>
</div>
<div class="table">
<h6 class="category text-rose">Clothing</h6>
<h4 class="card-caption">
<a href="#">The Name</a>
</h4>
<div class="card-description"> Lorem ipsum dolor sit amet, consectetur adipis cingelit. Etiam lacinia elit... </div>
<div class="ftr">
<div class="price">
<h4>$1,230</h4> </div>
<div class="stats">
<button type="button" rel="tooltip" title="" class="btn btn-just-icon btn-simple btn-warning" data-original-title="Saved to Wishlist"> <i class="fa fa-shopping-cart"></i> </button>
</div>
</div>
</div>
</div>
</div>
<div class="col-md-3">
<div class="card card-product">
<div class="card-image">
<a href="#"> <img class="img" src="images/model02.jpg"> </a>
<div class="ripple-cont"></div>
</div>
<div class="table">
<h6 class="category text-muted">Clothing</h6>
<h4 class="card-caption">
<a href="#">The Name</a>
</h4>
<div class="card-description"> Lorem ipsum dolor sit amet, consectetur adipis cingelit. Etiam lacinia elit... </div>
<div class="ftr">
<div class="price">
<h4>$990</h4> </div>
<div class="stats">
<button type="button" rel="tooltip" title="" class="btn btn-just-icon btn-simple btn-default" data-original-title="Save to Wishlist"> <i class="fa fa-shopping-cart"></i>
<div class="ripple-cont"></div>
</button>
</div>
</div>
</div>
</div>
</div>
<div class="col-md-3">
<div class="card card-product">
<div class="card-image">
<a href="#"> <img class="img" src="images/model03.jpg"> </a>
</div>
<div class="table">
<h6 class="category text-muted">Clothing</h6>
<h4 class="card-caption">
<a href="#">The Name</a>
</h4>
<div class="card-description"> Lorem ipsum dolor sit amet, consectetur adipis cingelit. Etiam lacinia elit... </div>
<div class="ftr">
<div class="price">
<h4>$1,100</h4> </div>
<div class="stats">
<button type="button" rel="tooltip" title="" class="btn btn-just-icon btn-simple btn-warning" data-original-title="Saved to Wishlist"> <i class="fa fa-shopping-cart"></i> </button>
</div>
</div>
</div>
</div>
</div>
<div class="col-md-3">
<div class="card card-product">
<div class="card-image">
<a href="#"> <img class="img" src="images/model04.jpg"> </a>
</div>
<div class="table">
<h6 class="category text-rose">Clothing</h6>
<h4 class="card-caption">
<a href="#">The Name</a>
</h4>
<div class="card-description"> Lorem ipsum dolor sit amet, consectetur adipis cingelit. Etiam lacinia elit... </div>
<div class="ftr">
<div class="price">
<h4>$1,200</h4> </div>
<div class="stats">
<button type="button" rel="tooltip" title="" class="btn btn-just-icon btn-simple btn-default" data-original-title="Save to Wishlist"> <i class="fa fa-shopping-cart"></i> </button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- TESTIMONIAL CARDS -->
<h3>Testimonial Cards</h3>
<div class="cards-4 section-gray">
<div class="container">
<div class="row">
<div class="col-md-4">
<div class="card card-testimonial">
<div class="icon"> <i class="fa fa-quote-right"></i> </div>
<div class="table">
<h5 class="card-description">
"Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit. Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit!"
</h5> </div>
<div class="ftr">
<h4 class="card-caption">Debbon Amet</h4>
<h6 class="category">@debbonamet</h6>
<div class="card-avatar">
<a href="#"> <img class="img" src="http://adamthemes.com/demo/code/cards/images/avatar3.png"> </a>
</div>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card card-testimonial">
<div class="icon"> <i class="fa fa-quote-right"></i> </div>
<div class="table">
<h5 class="card-description">
"Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit. Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit!"
</h5> </div>
<div class="ftr">
<h4 class="card-caption">Mary Dunst</h4>
<h6 class="category">@marydunst</h6>
<div class="card-avatar">
<a href="#"> <img class="img" src="http://adamthemes.com/demo/code/cards/images/avatar3.png"> </a>
</div>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card card-testimonial">
<div class="icon"> <i class="fa fa-quote-right"></i> </div>
<div class="table">
<h5 class="card-description">
"Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit. Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit!"
</h5> </div>
<div class="ftr">
<h4 class="card-caption">Patrick Wood</h4>
<h6 class="category">@patrickwood</h6>
<div class="card-avatar">
<a href="#"> <img class="img" src="http://adamthemes.com/demo/code/cards/images/avatar3.png"> </a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</article>
/* This css file is to over write bootstarp css
---------------------------------------------------------------------- */
/*
Theme Name: Modern - Bootstrap 4 Cards
Theme URI: http://adamthemes.com/
Author: AdamThemes
Author URI: http://adamthemes.com/
Description: Modern - Bootstrap 4 Cards by AdamThemes
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: card, cards, css3, modern, adamthemes, bootstrap, profile
*---------------------------------------------------------------------- */
/*----------------------------------------------------------------------
TABLE OF CONTENTS
// 1. SECTIONS
// 2. CARDS
// 2.1 Card Table
// 2.1 Card Blog
// 2.1 Card Background
// 2.1 Card Profile
// 2.1 Card Category
// 2.1 Card Author
// 2.1 Card Product
// 2.1 Card Testimonial
// 2.1 Text Color
// 3. BUTTONS
// 4. SOCIAL MEDIA BUTTONS
// 5. BOOTSTRAP COL-MD-12 CLASS
// 6. FONT AWESOME FA CLASS
------------------------------------------------------------------------*/
/*---------------------------------------------------------------------- /
SECTIONS
----------------------------------------------------------------------- */
.section-cards {
z-index: 3;
position: relative;
}
.section-gray {
background: #E5E5E5;
padding: 60px 0 30px 0;
}
/*---------------------------------------------------------------------- /
CARDS
----------------------------------------------------------------------- */
.card {
display: inline-block;
position: relative;
width: 100%;
margin-bottom: 30px;
border-radius: 6px;
color: rgba(0, 0, 0, 0.87);
background: #fff;
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
}
.card .card-image {
height: 60%;
position: relative;
overflow: hidden;
margin-left: 15px;
margin-right: 15px;
margin-top: -30px;
border-radius: 6px;
box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2);
}
.card .card-image img {
width: 100%;
height: 100%;
border-radius: 6px;
pointer-events: none;
}
.card .card-image .card-caption {
position: absolute;
bottom: 15px;
left: 15px;
color: #fff;
font-size: 1.3em;
text-shadow: 0 2px 5px rgba(33, 33, 33, 0.5);
}
.card img {
width: 100%;
height: auto;
}
.img-raised {
box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2);
}
.card .ftr {
margin-top: 15px;
}
.card .ftr div {
display: inline-block;
}
.card .ftr .author {
color: #888;
}
.card .ftr .stats {
float: right;
line-height: 30px;
}
.card .ftr .stats {
position: relative;
top: 1px;
font-size: 14px;
}
/* ============ Card Table ============ */
.table {
margin-bottom: 0px;
}
.card .table {
padding: 15px 30px;
}
.card .table-primary {
background: linear-gradient(60deg, #ab47bc, #7b1fa2);
}
.card .table-info {
background: linear-gradient(60deg, #26c6da, #0097a7);
}
.card .table-success {
background: linear-gradient(60deg, #66bb6a, #388e3c);
}
.card .table-warning {
background: linear-gradient(60deg, #ffa726, #f57c00);
}
.card .table-danger {
background: linear-gradient(60deg, #ef5350, #d32f2f);
}
.card .table-rose {
background: linear-gradient(60deg, #ec407a, #c2185b);
}
.card [class*="table-"] {
color: #FFFFFF;
border-radius: 6px;
}
.card [class*="table-"] .card-caption a,
.card [class*="table-"] .card-caption,
.card [class*="table-"] .icon i {
color: #FFFFFF;
}
.card [class*="table-"] .icon i {
border-color: rgba(255, 255, 255, 0.25);
}
.card [class*="table-"] .author a,
.card [class*="table-"] .ftr .stats,
.card [class*="table-"] .category,
.card [class*="table-"] .card-description {
color: rgba(255, 255, 255, 0.8);
}
.card [class*="table-"] .author a:hover,
.card [class*="table-"] .author a:focus,
.card [class*="table-"] .author a:active {
color: #FFFFFF;
}
.card [class*="table-"] h1 small,
.card [class*="table-"] h2 small,
.card [class*="table-"] h3 small {
color: rgba(255, 255, 255, 0.8);
}
/* ============ Card Blog ============ */
.card-blog {
margin-top: 30px;
}
.card-blog .card-caption {
margin-top: 5px;
}
.card-blog .card-image + .category {
margin-top: 20px;
}
.card-raised {
box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2);
}
/* ============ Card Background ============ */
.card-background {
background-position: center;
background-size: cover;
text-align: center;
}
.card-background .table {
position: relative;
z-index: 2;
min-height: 280px;
padding-top: 40px;
padding-bottom: 40px;
max-width: 440px;
margin: 0 auto;
}
.card-background .category,
.card-background .card-description,
.card-background small {
color: rgba(255, 255, 255, 0.8);
}
.card-background .card-caption {
color: #FFFFFF;
margin-top: 10px;
}
.card-background:after {
position: absolute;
z-index: 1;
width: 100%;
height: 100%;
display: block;
left: 0;
top: 0;
table: "";
background-color: rgba(0, 0, 0, 0.56);
border-radius: 6px;
}
/* ============ Card Profile ============ */
.card-profile {
margin-top: 30px;
text-align: center;
}
/* ============ Card Category ============ */
.category {
position: relative;
line-height: 0;
margin: 15px 0;
}
.card .category-social .fa {
font-size: 24px;
position: relative;
margin-top: -4px;
top: 2px;
margin-right: 5px;
}
/* ============ Card Author ============ */
.card .author .avatar {
width: 36px;
height: 36px;
overflow: hidden;
border-radius: 50%;
margin-right: 5px;
}
.card .author a {
color: #333;
text-decoration: none;
}
.card .author a .ripple-cont {
display: none;
}
/* ============ Card Product ============ */
.card-product {
margin-top: 30px;
}
.card-product .btn-simple.btn-just-icon {
padding: 0;
}
.card-product .ftr {
margin-top: 5px;
}
.card-product .ftr .stats {
margin-top: 4px;
top: 0;
}
.card-product .ftr h4 {
margin-bottom: 0;
}
.card-product .card-caption,
.card-product .category,
.card-product .card-description {
text-align: center;
}
.card-description p {
color: #888;
}
.card-caption,
.card-caption a {
color: #333;
text-decoration: none;
}
.card-caption {
font-weight: 700;
font-family: "Roboto Slab", "Times New Roman", serif;
}
/* ============ Card Testimonial ============ */
.card-testimonial {
margin-top: 0;
margin-bottom: 60px;
text-align: center;
}
.card-profile .btn-just-icon.btn-raised,
.card-testimonial .btn-just-icon.btn-raised {
margin-left: 6px;
margin-right: 6px;
}
.card-profile .card-avatar,
.card-testimonial .card-avatar {
max-width: 130px;
max-height: 130px;
margin: -50px auto 0;
border-radius: 50%;
overflow: hidden;
box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2);
}
.card-profile.card-plain .card-avatar,
.card-testimonial.card-plain .card-avatar {
margin-top: 0;
}
.card-testimonial .card-avatar {
max-width: 100px;
max-height: 100px;
}
.card-testimonial .card-description {
font-style: italic;
}
.card-testimonial .card-description + .card-caption {
margin-top: 30px;
}
.card-testimonial .icon {
margin-top: 30px;
}
.card-testimonial .icon {
font-size: 40px;
}
.card-testimonial .ftr {
margin-top: 0;
}
.card-testimonial .ftr .card-avatar {
margin-top: 10px;
margin-bottom: -50px;
}
/* ============ Text Color ============ */
.text-warning {
color: #ff9800;
}
.text-primary {
color: #9c27b0;
}
.text-danger {
color: #f44336;
}
.text-success {
color: #4caf50;
}
.text-info {
color: #00bcd4;
}
.text-rose {
color: #e91e63;
}
.text-gray {
color: #888;
}
/*---------------------------------------------------------------------- /
BUTTONS
----------------------------------------------------------------------- */
.btn {
display: inline-block;
padding: 6px 12px;
margin-bottom: 0;
font-size: 14px;
font-weight: 400;
line-height: 1.42857143;
text-align: center;
white-space: nowrap;
vertical-align: middle;
-ms-touch-action: manipulation;
touch-action: manipulation;
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
background-image: none;
border: 1px solid transparent;
border-radius: 4px;
}
.btn,
.navbar .navbar-nav > li > a.btn {
border: none;
border-radius: 3px;
position: relative;
padding: 12px 30px;
margin: 10px 1px;
font-size: 12px;
font-weight: 400;
text-transform: uppercase;
letter-spacing: 0;
will-change: box-shadow, transform;
transition: box-shadow 0.2s cubic-bezier(0.4, 0, 1, 1), background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn:focus,
.btn:active,
.btn:active:focus {
outline: 0;
}
.btn.btn-round,
.navbar .navbar-nav > li > a.btn.btn-round {
border-radius: 30px;
}
.btn.btn-just-icon,
.navbar .navbar-nav > li > a.btn.btn-just-icon {
font-size: 20px;
padding: 12px 12px;
line-height: 1em;
}
.btn.btn-just-icon i,
.navbar .navbar-nav > li > a.btn.btn-just-icon i {
width: 20px;
}
/* Button Info */
.btn.btn-info {
background-color: #00bcd4;
color: #FFFFFF;
}
.btn.btn-info:focus,
.btn.btn-info:active,
.btn.btn-info:hover {
box-shadow: 0 14px 26px -12px rgba(0, 188, 212, 0.42), 0 4px 23px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 188, 212, 0.2);
}
/* Button Danger */
.btn.btn-danger {
background-color: #f44336;
color: #FFFFFF;
}
.btn.btn-danger:focus,
.btn.btn-danger:active,
.btn.btn-danger:hover {
box-shadow: 0 14px 26px -12px rgba(244, 67, 54, 0.42), 0 4px 23px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(244, 67, 54, 0.2);
}
/* Button Warning */
.btn.btn-warning.btn-simple:hover,
.btn.btn-warning.btn-simple:focus,
.btn.btn-warning.btn-simple:active {
background-color: transparent;
color: #ff9800;
}
.btn.btn-warning.btn-simple,
.navbar .navbar-nav > li > a.btn.btn-warning.btn-simple {
background-color: transparent;
color: #ff9800;
box-shadow: none;
}
.btn.btn-warning,
.navbar .navbar-nav > li > a.btn.btn-warning {
box-shadow: 0 2px 2px 0 rgba(255, 152, 0, 0.14), 0 3px 1px -2px rgba(255, 152, 0, 0.2), 0 1px 5px 0 rgba(255, 152, 0, 0.12);
}
/* Button Rose */
.btn.btn-rose.btn-simple:hover,
.btn.btn-rose.btn-simple:focus,
.btn.btn-rose.btn-simple:active {
background-color: transparent;
color: #e91e63;
}
.btn.btn-rose.btn-simple,
.navbar .navbar-nav > li > a.btn.btn-rose.btn-simple {
background-color: transparent;
color: #e91e63;
box-shadow: none;
}
/* Button White */
.btn.btn-white,
.btn.btn-white:focus,
.btn.btn-white:hover {
background-color: #FFFFFF;
color: #888;
}
.btn.btn-white.btn-simple,
.navbar .navbar-nav > li > a.btn.btn-white.btn-simple {
color: #FFFFFF;
background: transparent;
box-shadow: none;
}
/*---------------------------------------------------------------------- /
SOCIAL MEDIA BUTTONS
----------------------------------------------------------------------- */
/* facebook */
.btn.btn-facebook,
.navbar .navbar-nav > li > a.btn.btn-facebook {
background-color: #3b5998;
color: #fff;
box-shadow: 0 2px 2px 0 rgba(59, 89, 152, 0.14), 0 3px 1px -2px rgba(59, 89, 152, 0.2), 0 1px 5px 0 rgba(59, 89, 152, 0.12);
}
.btn.btn-facebook:focus,
.btn.btn-facebook:active,
.btn.btn-facebook:hover {
background-color: #3b5998;
color: #fff;
box-shadow: 0 14px 26px -12px rgba(59, 89, 152, 0.42), 0 4px 23px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(59, 89, 152, 0.2);
}
.btn.btn-facebook.btn-simple,
.navbar .navbar-nav > li > a.btn.btn-facebook.btn-simple {
color: #3b5998;
background-color: transparent;
box-shadow: none;
}
/*twitter*/
.btn.btn-twitter,
.navbar .navbar-nav > li > a.btn.btn-twitter {
background-color: #55acee;
color: #fff;
box-shadow: 0 2px 2px 0 rgba(85, 172, 238, 0.14), 0 3px 1px -2px rgba(85, 172, 238, 0.2), 0 1px 5px 0 rgba(85, 172, 238, 0.12);
}
.btn.btn-twitter:focus,
.btn.btn-twitter:active,
.btn.btn-twitter:hover {
background-color: #55acee;
color: #fff;
box-shadow: 0 14px 26px -12px rgba(85, 172, 238, 0.42), 0 4px 23px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(85, 172, 238, 0.2);
}
.btn.btn-twitter.btn-simple,
.navbar .navbar-nav > li > a.btn.btn-twitter.btn-simple {
color: #55acee;
background-color: transparent;
box-shadow: none;
}
/*pinterest*/
.btn.btn-pinterest,
.navbar .navbar-nav > li > a.btn.btn-pinterest {
background-color: #cc2127;
color: #fff;
box-shadow: 0 2px 2px 0 rgba(204, 33, 39, 0.14), 0 3px 1px -2px rgba(204, 33, 39, 0.2), 0 1px 5px 0 rgba(204, 33, 39, 0.12);
}
.btn.btn-pinterest:focus,
.btn.btn-pinterest:active,
.btn.btn-pinterest:hover {
background-color: #cc2127;
color: #fff;
box-shadow: 0 14px 26px -12px rgba(204, 33, 39, 0.42), 0 4px 23px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(204, 33, 39, 0.2);
}
.btn.btn-pinterest.btn-simple,
.navbar .navbar-nav > li > a.btn.btn-pinterest.btn-simple {
color: #cc2127;
background-color: transparent;
box-shadow: none;
}
/*google*/
.btn.btn-google,
.navbar .navbar-nav > li > a.btn.btn-google {
background-color: #dd4b39;
color: #fff;
box-shadow: 0 2px 2px 0 rgba(221, 75, 57, 0.14), 0 3px 1px -2px rgba(221, 75, 57, 0.2), 0 1px 5px 0 rgba(221, 75, 57, 0.12);
}
.btn.btn-google:focus,
.btn.btn-google:active,
.btn.btn-google:hover {
background-color: #dd4b39;
color: #fff;
box-shadow: 0 14px 26px -12px rgba(221, 75, 57, 0.42), 0 4px 23px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(221, 75, 57, 0.2);
}
.btn.btn-google.btn-simple,
.navbar .navbar-nav > li > a.btn.btn-google.btn-simple {
color: #dd4b39;
background-color: transparent;
box-shadow: none;
}
/*dribbble*/
.btn.btn-dribbble,
.navbar .navbar-nav > li > a.btn.btn-dribbble {
background-color: #ea4c89;
color: #fff;
box-shadow: 0 2px 2px 0 rgba(234, 76, 137, 0.14), 0 3px 1px -2px rgba(234, 76, 137, 0.2), 0 1px 5px 0 rgba(234, 76, 137, 0.12);
}
.btn.btn-dribbble:focus,
.btn.btn-dribbble:active,
.btn.btn-dribbble:hover {
background-color: #ea4c89;
color: #fff;
box-shadow: 0 14px 26px -12px rgba(234, 76, 137, 0.42), 0 4px 23px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(234, 76, 137, 0.2);
}
.btn.btn-dribbble.btn-simple,
.navbar .navbar-nav > li > a.btn.btn-dribbble.btn-simple {
color: #ea4c89;
background-color: transparent;
box-shadow: none;
}
/*instagram*/
.btn.btn-instagram,
.navbar .navbar-nav > li > a.btn.btn-instagram {
background-color: #125688;
color: #fff;
box-shadow: 0 2px 2px 0 rgba(18, 86, 136, 0.14), 0 3px 1px -2px rgba(18, 86, 136, 0.2), 0 1px 5px 0 rgba(18, 86, 136, 0.12);
}
.btn.btn-instagram:focus,
.btn.btn-instagram:active,
.btn.btn-instagram:hover {
background-color: #125688;
color: #fff;
box-shadow: 0 14px 26px -12px rgba(18, 86, 136, 0.42), 0 4px 23px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(18, 86, 136, 0.2);
}
.btn.btn-instagram.btn-simple,
.navbar .navbar-nav > li > a.btn.btn-instagram.btn-simple {
color: #125688;
background-color: transparent;
box-shadow: none;
}
/*---------------------------------------------------------------------- /
BOOTSTRAP COL-MD-12 CLASS
----------------------------------------------------------------------- */
.col-md-12 {
padding-right: 0px;
padding-left: 0px;
}
/*---------------------------------------------------------------------- /
FONT AWESOME FA CLASS
----------------------------------------------------------------------- */
.fa {
display: inline-block;
font: normal normal normal 14px/1 FontAwesome;
font-size: inherit;
text-rendering: auto;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
/***********Only4Demo*******************/
/**************************************/
/* ======= GENERAL ======= */
body, h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4 {
font-family: "Roboto", "Helvetica", "Arial", sans-serif;
font-weight: 300;
line-height: 1.5em;
}
a {
color: #9c27b0;
text-decoration: none;
}
a:hover {
color: #9c27b0;
text-decoration: underline;
}
p {
color: #3C4857;
}
header {
border-bottom: 1px solid #dedede;
text-align: center;
}
h1, .h1 {
font-size: 3.8em;
}
h2, .h2 {
font-size: 2.0em;
line-height: 1.6em;
margin: 15px 0 15px;
font-weight: 700;
font-family: "Roboto Slab", "Times New Roman", serif;
text-align: center;
}
h3, .h3 {
font-size: 1.825em;
line-height: 1.4em;
margin: 30px 0 30px;
font-weight: 700;
font-family: "Roboto Slab", "Times New Roman", serif;
text-align: center;
}
h4, .h4 {
font-size: 1.3em;
line-height: 1.55em;
}
h5, .h5 {
font-size: 1.25em;
line-height: 1.55em;
margin-bottom: 15px;
}
h6, .h6 {
font-size: 0.9em;
font-weight: 500;
}
Also see: Tab Triggers