3d transform card flip
How do I make an 3d transform card flip?
Workshopping css 3d transforms http://desandro.github.io/3dtransforms/ . What is a 3d transform card flip? How do you make a 3d transform card flip? This script and codes were developed by Joseph on 21 November 2022, Monday.
3d transform card flip - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>3d transform card flip</title> <link rel='stylesheet prefetch' href='http://maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css'> <link rel="stylesheet" href="css/style.css">
</head>
<body> <section class="container"> <div id="card"> <figure class="front"><span>aphelion</span></figure> <figure class="back"><span><i>Astronomy</i>. the point in the orbit of a planet or a comet at which it is farthest from the sun.</span></figure> </div>
</section> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
3d transform card flip - Script Codes CSS Codes
body
{ color:#eaeaea; font-family: 'Courier New', Courier, monospace; font-size:1em; font-weight:300;
}
#button { position:fixed; top:25px; left:25px; }
.container { width: 240px; height: 336px; position: absolute; left:50%; top:50px; margin-left:-100px; border: 0px solid #CCC; -webkit-perspective: 800px; } #card { width: 100%; height: 100%; position: absolute; cursor:pointer; -webkit-transition: -webkit-transform 1s; -webkit-transform-style: preserve-3d; } #card.flipped { -webkit-transform: rotateY( 180deg ); } #card figure { display: block; margin:0px; padding:0px; height: 100%; width: 100%; text-align: center; position: absolute; display: table; -webkit-backface-visibility: hidden; } #card span { display: table-cell; text-align: center; vertical-align: middle; padding:25px; } #card .front { background: #7ba61a; font-size:1.6em; } #card .back { background: #841565; -webkit-transform: rotateY( 180deg ); }
#card .back > span { text-align:left; }
3d transform card flip - Script Codes JS Codes
$(document).ready(function() { $('#card').click(function() { $('#card').toggleClass('flipped'); });
});
Developer | Joseph |
Username | jibbon |
Uploaded | November 21, 2022 |
Rating | 3 |
Size | 2,276 Kb |
Views | 14,168 |
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 |
Css only parallax | 5,628 Kb |
Fluid poster wall | 2,856 Kb |
Mousy canvas experiment | 2,076 Kb |
Dragdealer slider | 3,117 Kb |
NEW SPACE COLONY | 2,681 Kb |
Large canvas mousemove experiment | 2,885 Kb |
Bloody Simple Grid | 2,195 Kb |
Fluid full-width vimeo element | 2,242 Kb |
Simple responsive fullscreen slider | 2,997 Kb |
NEW SPACE COLONY - safe | 2,150 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 |
A Pen by Dalton Liu | Liudalton | 12,437 Kb |
Table Exercise | Fresco | 9,585 Kb |
Headroom.js demo | WickyNilliams | 3,982 Kb |
MAD9013 - Float Images with Content | Mad-d | 2,220 Kb |
Donut Chart example - MorrisJS | Capelo | 2,385 Kb |
Particle Motion trajectories | Sniejadlik | 5,899 Kb |
Process Accordion | Devilskitchen | 31,432 Kb |
Simple Responsive Text | Fbrz | 2,282 Kb |
A Pen by Jason Kinney | Jason-kinney | 1,980 Kb |
Personal Logo Animation | Lloydwheeler | 3,795 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!