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 Skypack, which makes packages from npm not only available on a CDN, but prepares them for native JavaScript ES6 import
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.
<div class="container">
<!-- Style 1-->
<div class="d-flex flex-wrap justify-content-between">
<h4 class="mr-3">Style 1</h4>
</div>
<hr class="pb-4">
<div class="row pb-5">
<!-- Team member-->
<div class="col-xl-3 col-sm-6">
<div class="team-card-style-1 mx-auto">
<div class="team-card-inner">
<div class="team-thumb"><img src="https://demo.createx.studio/createx/img/team/style-1/01.jpg" alt="Team Member Picture">
</div>
<div class="team-social-bar text-center"><a class="social-btn sb-style-4 sb-twitter" href="#"><i class="socicon-twitter"></i></a><a class="social-btn sb-style-4 sb-github" href="#"><i class="socicon-github"></i></a><a class="social-btn sb-style-4 sb-stackoverflow" href="#"><i class="socicon-stackoverflow"></i></a><a class="social-btn sb-style-4 sb-skype" href="#"><i class="socicon-skype"></i></a></div><a class="team-contact-link" href="tel:+19871625346"><i class="fe-icon-phone"></i> +1 (987) 162 53 46</a><a class="team-contact-link" href="mailto:[email protected]"><i class="fe-icon-mail"></i> [email protected]</a>
</div><span class="team-position">Lead Programmer</span>
<h4 class="team-name">William Smith</h4>
</div>
</div>
<!-- Team member-->
<div class="col-xl-3 col-sm-6">
<div class="team-card-style-1 mx-auto">
<div class="team-card-inner">
<div class="team-thumb"><img src="https://demo.createx.studio/createx/img/team/style-1/02.jpg" alt="Team Member Picture">
</div>
<div class="team-social-bar text-center"><a class="social-btn sb-style-4 sb-facebook" href="#"><i class="socicon-facebook"></i></a><a class="social-btn sb-style-4 sb-twitter" href="#"><i class="socicon-twitter"></i></a><a class="social-btn sb-style-4 sb-google-plus" href="#"><i class="socicon-googleplus"></i></a><a class="social-btn sb-style-4 sb-linkedin" href="#"><i class="socicon-linkedin"></i></a></div><a class="team-contact-link" href="tel:+57872336590"><i class="fe-icon-phone"></i> +5 (787) 233 65 90</a><a class="team-contact-link" href="mailto:[email protected]"><i class="fe-icon-mail"></i> [email protected]</a>
</div><span class="team-position">Marketing Manager</span>
<h4 class="team-name">Samantha Palson</h4>
</div>
</div>
<!-- Team member-->
<div class="col-xl-3 col-sm-6">
<div class="team-card-style-1 mx-auto">
<div class="team-card-inner">
<div class="team-thumb"><img src="https://demo.createx.studio/createx/img/team/style-1/03.jpg" alt="Team Member Picture">
</div>
<div class="team-social-bar text-center"><a class="social-btn sb-style-4 sb-twitter" href="#"><i class="socicon-twitter"></i></a><a class="social-btn sb-style-4 sb-pinterest" href="#"><i class="socicon-pinterest"></i></a><a class="social-btn sb-style-4 sb-behance" href="#"><i class="socicon-behance"></i></a><a class="social-btn sb-style-4 sb-dribbble" href="#"><i class="socicon-dribbble"></i></a></div><a class="team-contact-link" href="tel:+13907765843"><i class="fe-icon-phone"></i> +1 (390) 776 58 43</a><a class="team-contact-link" href="mailto:[email protected]"><i class="fe-icon-mail"></i> [email protected]</a>
</div><span class="team-position">Graphic Designer</span>
<h4 class="team-name">Emma Johnson</h4>
</div>
</div>
<!-- Team member-->
<div class="col-xl-3 col-sm-6">
<div class="team-card-style-1 mx-auto">
<div class="team-card-inner">
<div class="team-thumb"><img src="https://demo.createx.studio/createx/img/team/style-1/04.jpg" alt="Team Member Picture">
</div>
<div class="team-social-bar text-center"><a class="social-btn sb-style-4 sb-facebook" href="#"><i class="socicon-facebook"></i></a><a class="social-btn sb-style-4 sb-twitter" href="#"><i class="socicon-twitter"></i></a><a class="social-btn sb-style-4 sb-skype" href="#"><i class="socicon-skype"></i></a><a class="social-btn sb-style-4 sb-linkedin" href="#"><i class="socicon-linkedin"></i></a></div><a class="team-contact-link" href="tel:+72056557984"><i class="fe-icon-phone"></i> +7 (205) 655 79 84</a><a class="team-contact-link" href="mailto:[email protected]"><i class="fe-icon-mail"></i> [email protected]</a>
</div><span class="team-position">CEO, Co-Founder</span>
<h4 class="team-name">James McCorvinus</h4>
</div>
</div>
</div>
<!-- Style 2-->
<div class="d-flex flex-wrap justify-content-between">
<h4 class="mr-3">Style 2</h4>
</div>
<hr class="pb-4 mb-1">
<div class="row no-gutters pb-5 mb-4">
<!-- Team member-->
<div class="col-xl-3 col-md-4 col-sm-6">
<div class="team-card-style-2"><img src="https://demo.createx.studio/createx/img/team/style-2/01.jpg" alt="Team Member Picture">
<div class="team-card-inner">
<h4 class="team-name">Olivia Davis</h4><span class="team-position">Lead Visual Artist</span>
<div class="team-social-bar text-center"><a class="social-btn sb-style-1 sb-twitter sb-light-skin" href="#"><i class="socicon-twitter"></i></a><a class="social-btn sb-style-1 sb-pinterest sb-light-skin" href="#"><i class="socicon-pinterest"></i></a><a class="social-btn sb-style-1 sb-behance sb-light-skin" href="#"><i class="socicon-behance"></i></a><a class="social-btn sb-style-1 sb-dribbble sb-light-skin" href="#"><i class="socicon-dribbble"></i></a></div><a class="team-contact-link" href="tel:+19871625346"><i class="fe-icon-phone"></i> +1 (987) 162 53 46</a><a class="team-contact-link" href="mailto:[email protected]"><i class="fe-icon-mail"></i> [email protected]</a>
</div>
</div>
</div>
<!-- Team member -->
<div class="col-xl-3 col-md-4 col-sm-6">
<div class="team-card-style-2"><img src="https://demo.createx.studio/createx/img/team/style-2/02.jpg" alt="Team Member Picture">
<div class="team-card-inner">
<h4 class="team-name">William Smith</h4><span class="team-position">Lead Programmer</span>
<div class="team-social-bar text-center"><a class="social-btn sb-style-1 sb-twitter sb-light-skin" href="#"><i class="socicon-twitter"></i></a><a class="social-btn sb-style-1 sb-github sb-light-skin" href="#"><i class="socicon-github"></i></a><a class="social-btn sb-style-1 sb-stackoverflow sb-light-skin" href="#"><i class="socicon-stackoverflow"></i></a><a class="social-btn sb-style-1 sb-skype sb-light-skin" href="#"><i class="socicon-skype"></i></a></div><a class="team-contact-link" href="tel:+57872336590"><i class="fe-icon-phone"></i> +5 (787) 233 65 90</a><a class="team-contact-link" href="mailto:[email protected]"><i class="fe-icon-mail"></i> [email protected]</a>
</div>
</div>
</div>
<!-- Team member-->
<div class="col-xl-3 col-md-4 col-sm-6">
<div class="team-card-style-2"><img src="https://demo.createx.studio/createx/img/team/style-2/03.jpg" alt="Team Member Picture">
<div class="team-card-inner">
<h4 class="team-name">Benjamin Miller</h4><span class="team-position">Financial Consultant</span>
<div class="team-social-bar text-center"><a class="social-btn sb-style-1 sb-twitter sb-light-skin" href="#"><i class="socicon-twitter"></i></a><a class="social-btn sb-style-1 sb-facebook sb-light-skin" href="#"><i class="socicon-facebook"></i></a><a class="social-btn sb-style-1 sb-google-plus sb-light-skin" href="#"><i class="socicon-googleplus"></i></a><a class="social-btn sb-style-1 sb-linkedin sb-light-skin" href="#"><i class="socicon-linkedin"></i></a></div><a class="team-contact-link" href="tel:+13907765843"><i class="fe-icon-phone"></i> +1 (390) 776 58 43</a><a class="team-contact-link" href="mailto:[email protected]"><i class="fe-icon-mail"></i> [email protected]</a>
</div>
</div>
</div>
<!-- Team member-->
<div class="col-xl-3 col-md-4 col-sm-6">
<div class="team-card-style-2"><img src="https://demo.createx.studio/createx/img/team/style-2/04.jpg" alt="Team Member Picture">
<div class="team-card-inner">
<h4 class="team-name">Emma Johnson</h4><span class="team-position">Graphic Designer</span>
<div class="team-social-bar text-center"><a class="social-btn sb-style-1 sb-twitter sb-light-skin" href="#"><i class="socicon-twitter"></i></a><a class="social-btn sb-style-1 sb-pinterest sb-light-skin" href="#"><i class="socicon-pinterest"></i></a><a class="social-btn sb-style-1 sb-behance sb-light-skin" href="#"><i class="socicon-behance"></i></a><a class="social-btn sb-style-1 sb-dribbble sb-light-skin" href="#"><i class="socicon-dribbble"></i></a></div><a class="team-contact-link" href="tel:+72056557984"><i class="fe-icon-phone"></i> +7 (205) 655 79 84</a><a class="team-contact-link" href="mailto:[email protected]"><i class="fe-icon-mail"></i> [email protected]</a>
</div>
</div>
</div>
</div>
<!-- Style 3-->
<div class="d-flex flex-wrap justify-content-between">
<h4 class="mr-3">Style 3</h4>
</div>
<hr class="pb-4 mb-1">
<div class="row pb-5 mb-2">
<!-- Team member-->
<div class="col-xl-3 col-sm-6 mb-30">
<div class="team-card-style-3 mx-auto">
<div class="team-thumb"><img src="https://demo.createx.studio/createx/img/team/style-3/01.jpg" alt="Team Member Picture">
</div><span class="team-position">Lead Programmer</span>
<h4 class="team-name">William Smith</h4><a class="team-contact-link" href="tel:+19871625346"><i class="fe-icon-phone"></i> +1 (987) 162 53 46</a><a class="team-contact-link" href="mailto:[email protected]"><i class="fe-icon-mail"></i> [email protected]</a>
<div class="team-social-bar-wrap">
<div class="team-social-bar"><a class="social-btn sb-style-1 sb-twitter" href="#"><i class="socicon-twitter"></i></a><a class="social-btn sb-style-1 sb-github" href="#"><i class="socicon-github"></i></a><a class="social-btn sb-style-1 sb-stackoverflow" href="#"><i class="socicon-stackoverflow"></i></a><a class="social-btn sb-style-1 sb-skype" href="#"><i class="socicon-skype"></i></a></div>
</div>
</div>
</div>
<!-- Team member-->
<div class="col-xl-3 col-sm-6 mb-30">
<div class="team-card-style-3 mx-auto">
<div class="team-thumb"><img src="https://demo.createx.studio/createx/img/team/style-3/02.jpg" alt="Team Member Picture">
</div><span class="team-position">Marketing Manager</span>
<h4 class="team-name">Samantha Palson</h4><a class="team-contact-link" href="tel:+57872336590"><i class="fe-icon-phone"></i> +5 (787) 233 65 90</a><a class="team-contact-link" href="mailto:[email protected]"><i class="fe-icon-mail"></i> [email protected]</a>
<div class="team-social-bar-wrap">
<div class="team-social-bar"><a class="social-btn sb-style-1 sb-facebook" href="#"><i class="socicon-facebook"></i></a><a class="social-btn sb-style-1 sb-twitter" href="#"><i class="socicon-twitter"></i></a><a class="social-btn sb-style-1 sb-google-plus" href="#"><i class="socicon-googleplus"></i></a><a class="social-btn sb-style-1 sb-linkedin" href="#"><i class="socicon-linkedin"></i></a></div>
</div>
</div>
</div>
<!-- Team member-->
<div class="col-xl-3 col-sm-6 mb-30">
<div class="team-card-style-3 mx-auto">
<div class="team-thumb"><img src="https://demo.createx.studio/createx/img/team/style-3/03.jpg" alt="Team Member Picture">
</div><span class="team-position">Graphic Designer</span>
<h4 class="team-name">Emma Johnson</h4><a class="team-contact-link" href="tel:+13907765843"><i class="fe-icon-phone"></i> +1 (390) 776 58 43</a><a class="team-contact-link" href="mailto:[email protected]"><i class="fe-icon-mail"></i> [email protected]</a>
<div class="team-social-bar-wrap">
<div class="team-social-bar"><a class="social-btn sb-style-1 sb-twitter" href="#"><i class="socicon-twitter"></i></a><a class="social-btn sb-style-1 sb-pinterest" href="#"><i class="socicon-pinterest"></i></a><a class="social-btn sb-style-1 sb-behance" href="#"><i class="socicon-behance"></i></a><a class="social-btn sb-style-1 sb-dribbble" href="#"><i class="socicon-dribbble"></i></a></div>
</div>
</div>
</div>
<!-- Team member-->
<div class="col-xl-3 col-sm-6 mb-30">
<div class="team-card-style-3 mx-auto">
<div class="team-thumb"><img src="https://demo.createx.studio/createx/img/team/style-3/04.jpg" alt="Team Member Picture">
</div><span class="team-position">CEO, Co-Founder</span>
<h4 class="team-name">James McCorvinus</h4><a class="team-contact-link" href="tel:+72056557984"><i class="fe-icon-phone"></i> +7 (205) 655 79 84</a><a class="team-contact-link" href="mailto:[email protected]"><i class="fe-icon-mail"></i> [email protected]</a>
<div class="team-social-bar-wrap">
<div class="team-social-bar"><a class="social-btn sb-style-1 sb-facebook" href="#"><i class="socicon-facebook"></i></a><a class="social-btn sb-style-1 sb-twitter" href="#"><i class="socicon-twitter"></i></a><a class="social-btn sb-style-1 sb-skype" href="#"><i class="socicon-skype"></i></a><a class="social-btn sb-style-1 sb-linkedin" href="#"><i class="socicon-linkedin"></i></a></div>
</div>
</div>
</div>
</div>
<!-- Style 4-->
<div class="d-flex flex-wrap justify-content-between">
<h4 class="mr-3">Style 4</h4>
</div>
<hr class="pb-4 mb-1">
<div class="row pb-5">
<!-- Team member-->
<div class="col-xl-4 col-md-6 mb-30">
<div class="team-card-style-4 d-sm-table w-100">
<div class="team-thumb d-sm-table-cell align-middle"><img src="https://demo.createx.studio/createx/img/team/style-3/01.jpg" alt="Team Member Picture">
</div>
<div class="d-sm-table-cell align-middle pl-sm-4 text-center text-sm-left"><span class="team-position">Lead Programmer</span>
<h4 class="team-name">William Smith</h4><a class="team-contact-link" href="tel:+19871625346"><i class="fe-icon-phone"></i> +1 (987) 162 53 46</a><a class="team-contact-link" href="mailto:[email protected]"><i class="fe-icon-mail"></i> [email protected]</a>
<div class="team-social-bar-wrap">
<div class="team-social-bar mx-auto mx-sm-0"><a class="social-btn sb-style-1 sb-twitter" href="#"><i class="socicon-twitter"></i></a><a class="social-btn sb-style-1 sb-github" href="#"><i class="socicon-github"></i></a><a class="social-btn sb-style-1 sb-stackoverflow" href="#"><i class="socicon-stackoverflow"></i></a><a class="social-btn sb-style-1 sb-skype" href="#"><i class="socicon-skype"></i></a></div>
</div>
</div>
</div>
</div>
<!-- Team member-->
<div class="col-xl-4 col-md-6 mb-30">
<div class="team-card-style-4 d-sm-table w-100">
<div class="team-thumb d-sm-table-cell align-middle"><img src="https://demo.createx.studio/createx/img/team/style-3/02.jpg" alt="Team Member Picture">
</div>
<div class="d-table-sm-cell align-middle pl-sm-4 text-center text-sm-left"><span class="team-position">Marketing Manager</span>
<h4 class="team-name">Sara Palson</h4><a class="team-contact-link" href="tel:+57872336590"><i class="fe-icon-phone"></i> +5 (787) 233 65 90</a><a class="team-contact-link" href="mailto:[email protected]"><i class="fe-icon-mail"></i> [email protected]</a>
<div class="team-social-bar-wrap">
<div class="team-social-bar mx-auto mx-sm-0"><a class="social-btn sb-style-1 sb-facebook" href="#"><i class="socicon-facebook"></i></a><a class="social-btn sb-style-1 sb-twitter" href="#"><i class="socicon-twitter"></i></a><a class="social-btn sb-style-1 sb-google-plus" href="#"><i class="socicon-googleplus"></i></a><a class="social-btn sb-style-1 sb-linkedin" href="#"><i class="socicon-linkedin"></i></a></div>
</div>
</div>
</div>
</div>
<!-- Team member-->
<div class="col-xl-4 col-md-6 mb-30">
<div class="team-card-style-4 d-sm-table w-100">
<div class="team-thumb d-sm-table-cell align-middle"><img src="https://demo.createx.studio/createx/img/team/style-3/04.jpg" alt="Team Member Picture">
</div>
<div class="d-sm-table-cell align-middle pl-sm-4 text-center text-sm-left"><span class="team-position">CEO, Co-Founder</span>
<h4 class="team-name">James Corvinus</h4><a class="team-contact-link" href="tel:+72056557984"><i class="fe-icon-phone"></i> +7 (205) 655 79 84</a><a class="team-contact-link" href="mailto:[email protected]"><i class="fe-icon-mail"></i> [email protected]</a>
<div class="team-social-bar-wrap">
<div class="team-social-bar mx-auto mx-sm-0"><a class="social-btn sb-style-1 sb-facebook" href="#"><i class="socicon-facebook"></i></a><a class="social-btn sb-style-1 sb-twitter" href="#"><i class="socicon-twitter"></i></a><a class="social-btn sb-style-1 sb-skype" href="#"><i class="socicon-skype"></i></a><a class="social-btn sb-style-1 sb-linkedin" href="#"><i class="socicon-linkedin"></i></a></div>
</div>
</div>
</div>
</div>
</div>
<!-- Style 5-->
<div class="d-flex flex-wrap justify-content-between">
<h4 class="mr-3">Style 5</h4><a class="navi-link font-weight-bold text-sm text-uppercase py-2" href="#team-style5-code" data-toggle="modal"><i class="fe-icon-code"></i> Show code</a>
</div>
<hr class="pb-4 mb-1">
<div class="row pb-5">
<!-- Team member-->
<div class="col-xl-3 col-sm-6 mb-30">
<div class="team-card-style-5 mx-auto">
<div class="team-thumb">
<div class="team-card-inner"><a class="team-contact-link" href="tel:+19871625346"><i class="fe-icon-phone"></i> +1 (987) 162 53 46</a><a class="team-contact-link" href="mailto:[email protected]"><i class="fe-icon-mail"></i> [email protected]</a>
<div class="team-social-bar pt-3 text-center"><a class="social-btn sb-style-6 sb-twitter sb-light-skin" href="#"><i class="socicon-twitter"></i></a><a class="social-btn sb-style-6 sb-pinterest sb-light-skin" href="#"><i class="socicon-pinterest"></i></a><a class="social-btn sb-style-6 sb-behance sb-light-skin" href="#"><i class="socicon-behance"></i></a><a class="social-btn sb-style-6 sb-dribbble sb-light-skin" href="#"><i class="socicon-dribbble"></i></a></div>
</div><img src="https://demo.createx.studio/createx/img/team/style-2/01.jpg" alt="Team Member Picture">
</div>
<h4 class="team-name">Olivia Davis</h4><span class="team-position">Lead Visual Artist</span>
</div>
</div>
<!-- Team member-->
<div class="col-xl-3 col-sm-6 mb-30">
<div class="team-card-style-5 mx-auto">
<div class="team-thumb">
<div class="team-card-inner"><a class="team-contact-link" href="tel:+57872336590"><i class="fe-icon-phone"></i> +5 (787) 233 65 90</a><a class="team-contact-link" href="mailto:[email protected]"><i class="fe-icon-mail"></i> [email protected]</a>
<div class="team-social-bar pt-3 text-center"><a class="social-btn sb-style-6 sb-twitter sb-light-skin" href="#"><i class="socicon-twitter"></i></a><a class="social-btn sb-style-6 sb-github sb-light-skin" href="#"><i class="socicon-github"></i></a><a class="social-btn sb-style-6 sb-stackoverflow sb-light-skin" href="#"><i class="socicon-stackoverflow"></i></a><a class="social-btn sb-style-6 sb-skype sb-light-skin" href="#"><i class="socicon-skype"></i></a></div>
</div><img src="https://demo.createx.studio/createx/img/team/style-2/02.jpg" alt="Team Member Picture">
</div>
<h4 class="team-name">William Smith</h4><span class="team-position">Lead Programmer</span>
</div>
</div>
<!-- Team member-->
<div class="col-xl-3 col-sm-6 mb-30">
<div class="team-card-style-5 mx-auto">
<div class="team-thumb">
<div class="team-card-inner"><a class="team-contact-link" href="tel:+13907765843"><i class="fe-icon-phone"></i> +1 (390) 776 58 43</a><a class="team-contact-link" href="mailto:[email protected]"><i class="fe-icon-mail"></i> [email protected]</a>
<div class="team-social-bar pt-3 text-center"><a class="social-btn sb-style-6 sb-twitter sb-light-skin" href="#"><i class="socicon-twitter"></i></a><a class="social-btn sb-style-6 sb-facebook sb-light-skin" href="#"><i class="socicon-facebook"></i></a><a class="social-btn sb-style-6 sb-google-plus sb-light-skin" href="#"><i class="socicon-googleplus"></i></a><a class="social-btn sb-style-6 sb-linkedin sb-light-skin" href="#"><i class="socicon-linkedin"></i></a></div>
</div><img src="https://demo.createx.studio/createx/img/team/style-2/03.jpg" alt="Team Member Picture">
</div>
<h4 class="team-name">Benjamin Miller</h4><span class="team-position">Financial Consultant</span>
</div>
</div>
<!-- Team member-->
<div class="col-xl-3 col-sm-6 mb-30">
<div class="team-card-style-5 mx-auto">
<div class="team-thumb">
<div class="team-card-inner"><a class="team-contact-link" href="tel:+72056557984"><i class="fe-icon-phone"></i> +7 (205) 655 79 84</a><a class="team-contact-link" href="mailto:[email protected]"><i class="fe-icon-mail"></i> [email protected]</a>
<div class="team-social-bar pt-3 text-center"><a class="social-btn sb-style-6 sb-twitter sb-light-skin" href="#"><i class="socicon-twitter"></i></a><a class="social-btn sb-style-6 sb-pinterest sb-light-skin" href="#"><i class="socicon-pinterest"></i></a><a class="social-btn sb-style-6 sb-behance sb-light-skin" href="#"><i class="socicon-behance"></i></a><a class="social-btn sb-style-6 sb-dribbble sb-light-skin" href="#"><i class="socicon-dribbble"></i></a></div>
</div><img src="https://demo.createx.studio/createx/img/team/style-2/04.jpg" alt="Team Member Picture">
</div>
<h4 class="team-name">Emma Johnson</h4><span class="team-position">Graphic Designer</span>
</div>
</div>
</div>
</div>
$gray-darker: #343b43 !default;
$gray-dark: #404040 !default;
$gray: #8c8c8c !default;
$gray-light: #e7e7e7 !default;
$gray-lighter: #f5f5f5 !default;
$white: #ffffff !default;
$black: #000000 !default;
// Brand colors
$primary: #ac32e4 !default;
$accent: #e833b0 !default;
$info: #5695fe !default;
$success: #33cb81 !default;
$warning: #fc8c3a !default;
$danger: #ff5252 !default;
//== Grid Vertical Step
// -------------------------------------------------------
$grid-vertical-step: 24px !default;
$font-size-base: 16px !default;
$font-size-lead: floor(($font-size-base * 1.5)) !default; // ~24px
$font-size-xl: floor(($font-size-base * 1.125)) !default; // ~18px
$font-size-lg: $font-size-base !default; // ~16px
$font-size-md: floor(($font-size-base * .875)) !default; // ~14px
$font-size-sm: floor(($font-size-base * .75)) !default; // ~12px
$font-size-xs: floor(($font-size-base * .625)) !default; // ~10px
$font-size-button-md: $font-size-sm !default;
$navi-link-font-size: $font-size-sm !default;
//== Box Shadow
// -------------------------------------------------------
$box-shadow-base: 0 22px 36px -12px rgba($gray-dark, .13) !default;
$box-shadow-base-pressed: 0 10px 24px -10px rgba($gray-dark, .22) !default;
$box-shadow-base-inset: inset 0 20px 30px -12px rgba($gray-dark, .12) !default;
$box-shadow-card: 0 12px 20px 1px rgba($gray-dark, .09) !default;
$box-shadow-dropdown: 0 8px 20px -4px rgba($gray-dark, .2) !default;
$box-shadow-autocomplete: 0 6px 20px 0 rgba($gray-dark, .2) !default;
$box-shadow-input: 0 9px 24px -4px rgba($gray-dark, .16) !default;
$box-shadow-offcanvas: 22px 0 36px -12px rgba($gray-dark, .12) !default;
$box-shadow-offcanvas-reverse: -22px 0 36px -12px rgba($gray-dark, .12) !default;
$box-shadow-pagination-link: 0 12px 20px 1px rgba($gray-dark, .11) !default;
$box-shadow-social-btn: 0 12px 20px 1px rgba($gray-dark, .11) !default;
$box-shadow-shop-btn: 0 12px 20px 1px rgba($gray-dark, .11) !default;
$box-shadow-header-btns: 0 12px 20px 1px rgba($gray-dark, .13) !default;
$box-shadow-gallery-hover: 0 8px 24px 0 rgba($black, .26) !default;
$box-shadow-gallery-indicator: 0 10px 15px 0 rgba($black, .2) !default;
$box-shadow-carousel-navs: 0 10px 15px 0 rgba($black, .12) !default;
$box-shadow-contact-icon: 0 8px 20px 0 rgba($black, .11) !default;
$box-shadow-author-avatar: 0 8px 20px 0 rgba($black, .15) !default;
$box-shadow-progress: 0 8px 16px 0 rgba($black, .15) !default;
$box-shadow-post-format: 0 9px 18px 0 rgba($gray-dark, .14) !default;
$box-shadow-video-btn: 0 9px 28px 0 rgba($gray-dark, .13) !default;
$box-shadow-video-btn-hover: 0 9px 28px 0 rgba($primary, .2) !default;
$box-shadow-fullscreen-close: 0 10px 18px 0 rgba($black, .11) !default;
// Borders
$border-color: $gray-light !default;
$border-light-color: rgba($white, .14) !default;
// Theme gradient
$gradient-color-1: $primary !default;
$gradient-color-2: $accent !default;
//
// Mixins
// --------------------------------------------------
// Font smoothing
@mixin font-smoothing {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
// Unstyled list
@mixin list-unstyled {
padding-left: 0;
list-style: none;
}
// Gradient background
@mixin gradient-background($gradient-from: $gradient-color-1, $gradient-to: $gradient-color-2) {
background: $gradient-from !important;
background: linear-gradient(to right, $gradient-from 0%, $gradient-from 20%, $gradient-to 100%) !important;
}
// Vertical gradient background
@mixin gradient-background-vertical($gradient-from: $gradient-color-1, $gradient-to: $gradient-color-2) {
background: $gradient-from !important;
background: linear-gradient(to bottom, $gradient-from 0%, $gradient-from 20%, $gradient-to 100%) !important;
}
// Placeholder text
@mixin placeholder($color: $gray) {
// Firefox
&::-moz-placeholder {
color: $color;
opacity: 1; // Override Firefox's unusual default opacity; see https://github.com/twbs/bootstrap/pull/11526
}
&:-ms-input-placeholder {
color: $color;
} // Internet Explorer 10+
&::-webkit-input-placeholder {
color: $color;
} // Safari and Chrome
}
// Appearance
@mixin appearance($value) {
-webkit-appearance: $value;
-moz-appearance: $value;
appearance: $value;
}
// Alert Variants
@mixin alert-variant($color, $bg-color, $border-color) {
background-color: $bg-color;
color: $color;
&::before { border-color: $border-color; }
> *,
h1, h2, h3, h4, h5, h6, p, ul, ol, a {
&:not(.text-white),
&:not(.text-light) { color: $color; }
}
.alert-close { color: $color; }
}
// List Group Variants
@mixin list-group-variant($color, $bg-color, $border-color) {
border-color: $border-color !important;
background-color: $bg-color;
color: $color !important;
> *,
h1, h2, h3, h4, h5, h6, p, ul, ol, a { color: $color !important; }
}
// Gradient background
.bg-gradient { @include gradient-background($gradient-color-1, $gradient-color-2);}
.bg-gradient-vertical { @include gradient-background-vertical($gradient-color-1, $gradient-color-2);}
//
// Team
// --------------------------------------------------
// General for all styles
.team-card-style-1,
.team-card-style-3,
.team-card-style-5 {
position: relative;
max-width: 360px;
text-align: center;
}
.team-contact-link {
display: block;
margin-top: floor($grid-vertical-step / 5);
transition: all .25s;
font: {
size: $font-size-sm;
weight: 700;
}
text-decoration: none;
> i {
display: inline-block;
font-size: 1.1em;
vertical-align: middle;
}
}
.team-card-style-1,
.team-card-style-3,
.team-card-style-4 {
.team-position {
display: block;
margin-bottom: floor($grid-vertical-step / 3);
color: $gray;
font: {
size: $font-size-sm;
weight: 700;
}
opacity: .6;
}
}
.team-card-style-3,
.team-card-style-4,
.team-card-style-5 {
.team-name {
margin-bottom: floor($grid-vertical-step / 1.5);
font: {
size: $font-size-xl;
weight: 600;
}
}
}
.team-thumb > img {
display: block;
width: 100%;
}
// Style 1 (Specific styles)
.team-card-style-1 {
padding-bottom: floor($grid-vertical-step * 1.5);
> * {
position: relative;
z-index: 5;
}
&::before {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 0;
transition: all .3s .12s;
@extend .bg-gradient-vertical;
content: '';
opacity: 0;
}
.team-card-inner {
margin-bottom: floor($grid-vertical-step / 1.5);
padding: {
top: floor($grid-vertical-step * 2);
right: floor($grid-vertical-step / 1.5);
bottom: floor($grid-vertical-step / 1.2);
left: floor($grid-vertical-step / 1.5);
}
background-color: $white;
box-shadow: $box-shadow-base;
}
.team-thumb {
width: 108px;
height: 108px;
margin: auto;
margin-bottom: floor($grid-vertical-step / 1.5);
border-radius: 50%;
overflow: hidden;
}
.team-social-bar {
margin: {
top: floor($grid-vertical-step / 1.5);
bottom: floor($grid-vertical-step / 3);
}
transform: scale(.8);
}
.team-contact-link {
transition-delay: .12s;
color: $gray;
opacity: .6;
&:hover {
color: $gray;
opacity: 1;
}
}
.team-card-inner,
.team-thumb,
.team-social-bar { transition: all .3s .12s; }
.team-position,
.team-name { transition: color .3s .12s; }
.team-name {
margin-bottom: 0;
font: {
size: floor($font-size-base * 1.25);
weight: bold;
}
}
}
.team-card-style-1:hover {
&::before {
height: 100%;
box-shadow: $box-shadow-base;
opacity: 1;
}
.team-card-inner {
background-color: transparent;
box-shadow: none;
}
.team-thumb { transform: scale(1.1); }
.team-social-bar { transform: scale(1); }
.team-contact-link,
.team-position,
.team-name { color: $white; }
.team-contact-link { opacity: 1; }
}
// Style 2 (Specific styles)
.team-card-style-2 {
position: relative;
> img {
display: block;
width: 100%;
}
&::before,
&::after {
display: block;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
transition: opacity .35s .12s;
content: '';
z-index: 1;
}
&::before { background-color: rgba($black, .25); }
&::after {
@extend .bg-gradient-vertical;
opacity: 0;
}
.team-card-inner {
position: absolute;
top: 50%;
width: 100%;
padding: floor($grid-vertical-step / 1.2);
transform: translateY(-45%);
transition: all .35s .12s;
text-align: center;
opacity: 0;
z-index: 5;
}
.team-name,
.team-position,
.team-contact-link { color: $white; }
.team-name {
margin-bottom: floor($font-size-base / 3);
font: {
size: floor($font-size-base * 1.25);
weight: bold;
}
}
.team-position {
display: block;
margin-bottom: floor($grid-vertical-step / 1.5);
font: {
size: $font-size-sm;
weight: 600;
}
text-transform: uppercase;
}
.team-social-bar {
margin: {
top: floor($grid-vertical-step / 1.5);
bottom: floor($grid-vertical-step / 3);
}
}
.team-contact-link { opacity: 1; }
&:hover {
&::before { opacity: 0; }
&::after { opacity: .7; }
.team-card-inner {
transform: translateY(-50%);
opacity: 1;
}
}
}
// Style 3, 4 (Specific styles)
.team-card-style-3,
.team-card-style-4 {
position: relative;
padding: {
top: floor($grid-vertical-step * 1.25);
right: floor($grid-vertical-step / 1.2);
bottom: floor($grid-vertical-step * 1.6);
left: floor($grid-vertical-step / 1.2);
}
transition: all .35s;
border: 1px solid $border-color;
.team-thumb {
width: 90px;
margin: auto;
margin-bottom: floor($grid-vertical-step / 1.4);
}
.team-position { margin-bottom: 0; }
.team-contact-link {
color: $gray-dark;
font-weight: 600;
> i { color: $gray !important; }
&:hover { color: rgba($gray-dark, .6); }
}
.team-social-bar-wrap {
position: absolute;
bottom: -18px;
left: 0;
width: 100%;
> .team-social-bar {
display: table;
margin: auto;
background-color: $white;
box-shadow: $box-shadow-social-btn;
}
}
&:hover {
border-color: transparent;
box-shadow: $box-shadow-card;
}
}
.team-card-style-4 {
padding: {
top: $grid-vertical-step;
bottom: floor($grid-vertical-step * 1.3);
left: $grid-vertical-step;
}
.team-name { margin-bottom: 5px; }
.team-social-bar-wrap {
position: relative;
bottom: auto;
left: auto;
margin-top: floor($grid-vertical-step / 1.2);
> .team-social-bar { margin: 0; }
}
}
// Style 5
.team-card-style-5 {
padding-bottom: $grid-vertical-step;
transition: box-shadow .35s .12s;
.team-thumb {
position: relative;
margin-bottom: $grid-vertical-step;
&::after {
display: block;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
transition: opacity .35s .12s;
background-color: $primary;
content: '';
opacity: 0;
z-index: 1;
}
}
.team-card-inner {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
padding: floor($grid-vertical-step / 1.5);
padding-bottom: floor($grid-vertical-step * 1.1);
transform: translateY(10px);
transition: all .35s .12s;
text-align: center;
opacity: 0;
z-index: 5;
}
.team-contact-link,
.team-contact-link:hover { color: $white; }
.sb-style-6.sb-light-skin,
.sb-style-7.sb-light-skin { border-color: rgba($white, .35); }
.team-name {
margin-bottom: floor($grid-vertical-step / 4);
padding: 0 floor($grid-vertical-step / 1.5);
}
.team-position {
display: block;
padding: 0 floor($grid-vertical-step / 1.5);
transition: color .35s .12s;
}
&:hover {
box-shadow: $box-shadow-card;
.team-thumb::after { opacity: .7; }
.team-card-inner {
transform: translateY(0);
opacity: 1;
}
.team-position { color: $primary; }
}
}
Also see: Tab Triggers