
How to create a Pure CSS Flip Card
Before We Start
Every developer needs clean and modern elements to develop their websites, It contains pictures and a user interface element within a website. The most important one and the first section that the user sees when the user enters a website. How to create a Pure CSS Flip Card
So if you are a person who wishes to develop a website, you have to know how to create that properly.

How to create a Pure CSS Flip Card
We are here to solve your problem. In this article we discuss how to create these elements. Before we start please read the below articles which easier you to understand the process, if you are new to development.
Step 1 – Add HTML
It’s too easy and simple. Just copy and paste below code in your HTML editor between <body> </body> tag.
<div class="container">
<div class="card">
<h2>Web Developer</h2>
<img src="https://picsum.photos/200" />
<p>It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. </p>
<a href="#">Know More</a>
<div class="flip">
<h2>Follow me<br />on Social Channels</h2>
<ul>
<li><a href="#">Facebook</a></li>
<li><a href="#">Twitter</a></li>
<li><a href="#">Instagram</a></li>
<li><a href="#">LinkedIn</a></li>
<li><a href="#">Github</a></li>
</ul>
</div>
</div>
<div class="card">
<h2>Graphic Designer</h2>
<img src="https://picsum.photos/200" />
<p>It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. </p>
<a href="#">Know More</a>
<div class="flip">
<h2>Follow me<br />on Social Channels</h2>
<ul>
<li><a href="#">Facebook</a></li>
<li><a href="#">Twitter</a></li>
<li><a href="#">Instagram</a></li>
<li><a href="#">LinkedIn</a></li>
<li><a href="#">Github</a></li>
</ul>
</div>
</div>
<div class="card">
<h2>UX Consultant</h2>
<img src="https://picsum.photos/200" />
<p>It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. </p>
<a href="#">Know More</a>
<div class="flip">
<h2>Follow me<br />on Social Channels</h2>
<ul>
<li><a href="#">Facebook</a></li>
<li><a href="#">Twitter</a></li>
<li><a href="#">Instagram</a></li>
<li><a href="#">LinkedIn</a></li>
<li><a href="#">Github</a></li>
</ul>
</div>
</div>
</div>
Step 2 – Add CSS
Copy and paste below code in your HTML editor between <style></style> tag.
<style>
body{
background: #f7af07;
padding: 1em;
font: normal 15px Arial;
color: #333;
}
*,
*:before,
*:after{
box-sizing: border-box;
margin: 0;
padding: 0;
}
a{
text-decoration: none;
}
.container{
display: flex;
margin: 0 auto;
width: 95%;
}
.card h2{
margin: 0 0 0.5em 0;
}
.card img{
width: 100%;
height: auto;
margin: 0 0 1em 0;
}
.card p{
margin: 0 0 1em 0;
}
.card > a{
color: #f7af07;
text-decoration: none;
font-weight: bold;
}
.card{
margin: 0 1em;
background: #fafafa;
padding: 2em;
text-align: center;
position: relative;
transition: all 200ms;
}
.card:hover .flip{
transform: rotateX(0deg);
}
.flip{
background: #222;
position: absolute;
top: 0;
left: 0;
right: 0;
width: 100%;
min-height: 100%;
transition: all 200ms;
padding: 2.5em 1.5em;
transform: rotateX(90deg);
}
.flip h2{
font-size: 1.3em;
color: #f7af07;
margin: 0 0 2.5em 0;
}
.flip ul,
.flip li{
margin: 0;
padding: 0;
list-style: none;
}
.flip li{
margin: 0 0 2em 0;
}
.flip li a{
font-size: 1.3em;
color: #ccc;
}
@media (max-width: 600px) {
.container{
display: block;
width: 100%;
}
.container .card{
margin: 0 0 2em 0;
}
}
</style>
At the end we will have something like this. You can change fonts, colors, backgrounds and all things that you want. Enjoy it.
Your Output

Video Tutorial
Please watch this video to better understand this tutorial and don’t forget to subscribe to our channel.
Help others to find out about this article on Social Media sites. If you have any doubt or any problem, don’t hesitate to contact us. Thereafter we will be able to help you and also make sure you bookmark our site on your browser.