Flip test

Developer
Size
1,635 Kb
Views
16,192

How do I make an flip test?

Simple flip using css3.. What is a flip test? How do you make a flip test? This script and codes were developed by MadheswaranM on 19 November 2022, Saturday.

Flip test Previews

Flip test - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Flip test</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="main">
<div class="one">123
</div>
<div class="two">456
</div>
</div>
</body>
</html>

Flip test - Script Codes CSS Codes

.main{ width:100px; height:100px; position:relative;
}
.one{ width:100px; height:100px; background:#000; color:#fff; position:absolute; top:0; -webkit-transform-style: preserve-3d;
-moz-transform-style: preserve-3d;
-ms-transform-style: preserve-3d;
-o-transform-style: preserve-3d;
transform-style: preserve-3d;
-webkit-backface-visibility: hidden;
-moz-backface-visibility: hidden;
-ms-backface-visibility: hidden;
-o-backface-visibility: hidden;
backface-visibility: hidden;
-webkit-transition: 0.75s;
-moz-transition: 0.75s;
-o-transition: 0.75s;
transition: 0.75s;
}
.two{ width:100px; height:100px; position:absolute; top:0px; background:red; z-index: 2; -webkit-transform-style: preserve-3d;
-moz-transform-style: preserve-3d;
-ms-transform-style: preserve-3d;
-o-transform-style: preserve-3d;
transform-style: preserve-3d;
-webkit-backface-visibility: hidden;
-moz-backface-visibility: hidden;
-ms-backface-visibility: hidden;
-o-backface-visibility: hidden;
backface-visibility: hidden;
-webkit-transition: 0.75s;
-moz-transition: 0.75s;
-o-transition: 0.75s;
transition: 0.75s; transform: rotateY(-180deg);
-webkit-transform: rotateY(-180deg);
}
.main:hover .one{ transform: rotateY(180deg); -webkit-transform: rotateY(180deg); z-index:0;
}
.main:hover .two{ transform: rotateY(0deg);
-webkit-transform: rotateY(0deg); z-index: 3;
}
Flip test - Script Codes
Flip test - Script Codes
Home Page Home
Developer MadheswaranM
Username madhes
Uploaded November 19, 2022
Rating 3
Size 1,635 Kb
Views 16,192
Do you need developer help for Flip test?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

MadheswaranM (madhes) Script Codes
Create amazing Facebook ads with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!