
How to create a Business Flipcard
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 Business Flipcard
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 Business Flipcard
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="flipcard">
<div class="flipcard_front"></div>
<div class="flipcard_back">
<div class="flipcard_description">
<h3>W3schoolweb</h3>
<p>UC Berkeley CogSci Major with Concentration on Artificial Intelligence</p>
<button title='Visit Website' onclick="window.open('#')"><i class="fa fa-external-link"></i></button>
<button title="Github Page" onclick="window.open('#')"><i class="fa fa-github"></i></button>
</div>
</div>
</div>
Step 2 – Add CSS
We use some external CSS link to this code. No need to worry about this, copy and paste below code between <style></style> tag.
<head>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
</head>
Copy and paste below code in your HTML editor between <style></style> tag.
<style>
.flipcard {
font-family: arial;
margin: 25px auto;
height: 350px;
width: 240px;
position: relative;
perspective: 700px;
-webkit-transform-style: preserve-3d;
transform-style: preserve-3d;
text-align: center;
}
.flipcard_front,
.flipcard_back {
backface-visibility: hidden;
height: 100%;
width: 100%;
position: absolute;
top: 50%;
left: 50%;
-webkit-transition: all 0.5s ease;
transition: all 0.5s ease;
}
.flipcard_front {
-webkit-transform: translate(-50%, -50%) rotateY(0deg);
-ms-transform: translate(-50%, -50%) rotateY(0deg);
transform: translate(-50%, -50%) rotateY(0deg);
background-size: 100% 100%;
background-position: 50% 50%;
background-repeat: no-repeat;
background: url("https://github.com/jakehong0521/jakehong0521.github.io/blob/master/css/projects/jh.png?raw=true");
}
.flipcard:hover .flipcard_front {
-webkit-transform: translate(-50%, -50%) rotateY(180deg);
-ms-transform: translate(-50%, -50%) rotateY(180deg);
transform: translate(-50%, -50%) rotateY(180deg);
}
.flipcard_back {
-webkit-transform: translate(-50%, -50%) rotateY(180deg);
-ms-transform: translate(-50%, -50%) rotateY(180deg);
transform: translate(-50%, -50%) rotateY(180deg);
color: white;
background: linear-gradient(
120deg,
rgb(100, 100, 110),
rgb(20, 30, 30) 20%,
rgb(20, 30, 30) 80%,
rgb(100, 100, 110)
);
}
.flipcard:hover .flipcard_back {
-webkit-transform: translate(-50%, -50%) rotateY(360deg);
-ms-transform: translate(-50%, -50%) rotateY(360deg);
transform: translate(-50%, -50%) rotateY(360deg);
}
.flipcard_description {
box-sizing: border-box;
position: absolute;
top: 0;
width: 100%;
padding: 10% 10% 0%;
overflow: auto;
}
.flipcard_description button {
background: transparent;
border: solid 1px white;
border-radius: 50%;
color: white;
padding: 0;
margin: 0% 2%;
-webkit-transition: all 0.3s;
transition: all 0.3s;
text-align: center;
font-size: 1rem;
width: 2.5rem;
height: 2.5rem;
}
.flipcard_description button:hover {
color: black;
background: white;
cursor: pointer;
}
.flipcard_description h3 {
color: #c6a869;
}
.flipcard_description p {
opacity: 0.7;
line-height: 1.4;
}
.flipcard_description img {
height: 2rem;
margin: 2% 1%;
}
</style>
Step 3 – Add JavaScript
We use some external JavaScript link to this code. No need to worry about this, copy and paste below code between <head></head> tag.
<head>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
</head>
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

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.