Create a hover effect to flip a card and show details on the back.
MediumProblem Statement
Create a hover effect to flip a card and show details on the back.
Sample Output
Hovering over the card flips it to reveal the back.
Limits
Time: 2s · Memory: 256 MB
Code Editor
Log in to submit00:00
Try your code in this preview. Submit marks it done.
<!DOCTYPE html>
<html>
<head>
<style>
/* Add CSS here to create the flip effect */
</style>
</head>
<body>
<div class="card">
<div class="front">Front</div>
<div class="back">Back</div>
</div>
</body>
</html>
Document
To view the HTML changes, please type the code within the editor