Flip test
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 - 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;
}
Developer | MadheswaranM |
Username | madhes |
Uploaded | November 19, 2022 |
Rating | 3 |
Size | 1,635 Kb |
Views | 16,192 |
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!
Name | Size |
Menu hover effect | 1,661 Kb |
Simple hover effect for delete option | 1,578 Kb |
According height change | 1,885 Kb |
A Pen by MadheswaranM | 1,765 Kb |
According View | 2,689 Kb |
Custom checkboxes with CSS only | 2,436 Kb |
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!
Name | Username | Size |
CSS3 Media Queries demo | Machal | 1,824 Kb |
Experiment - SCSS SVG Background Image with Variables | See8ch | 3,270 Kb |
Off Canvas | Mariamarica | 1,870 Kb |
A Pen by Miro Olma | Programiro | 2,342 Kb |
Main page display | BarryKe | 4,562 Kb |
Material design - button rainbow circle | Kunukn | 3,652 Kb |
Pagepilling.js | Blossk | 6,554 Kb |
A Bouncy Menu Toggle | Billyysea | 4,563 Kb |
Parallax scrolling scene | Iharosi | 2,485 Kb |
3D Text in Sass | Bookcasey | 2,766 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!