Some card animation
How do I make an some card animation?
I don't know. Was fun though.. What is a some card animation? How do you make a some card animation? This script and codes were developed by Andreas Neeven on 18 September 2022, Sunday.
Some card animation - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Some card animation</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="item">
</div>
<span>Well, I don't know. Clicking it might work.</span> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Some card animation - Script Codes CSS Codes
body { display: -webkit-box; display: -ms-flexbox; display: flex; position: absolute; width: 100%; height: 100%; background-color: #333; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center;
}
.item { width: 100px; height: 100px; background-color: #3498db; border-radius: 50%; border-bottom-right-radius: 0; cursor: pointer; -webkit-transform: rotate(45deg); transform: rotate(45deg);
}
.active { -webkit-transform: rotate(360deg); transform: rotate(360deg); border-bottom-right-radius: 50%; -webkit-transition: border-radius 1s ease-in, -webkit-transform 1s; transition: border-radius 1s ease-in, -webkit-transform 1s; transition: transform 1s, border-radius 1s ease-in; transition: transform 1s, border-radius 1s ease-in, -webkit-transform 1s;
}
.open { width: 250px; height: 350px; border-radius: 0; -webkit-transition: border-radius 0.5s, width 0.1s, height 0.5s ease-in, -webkit-transform 0.5s; transition: border-radius 0.5s, width 0.1s, height 0.5s ease-in, -webkit-transform 0.5s; transition: transform 0.5s, border-radius 0.5s, width 0.1s, height 0.5s ease-in; transition: transform 0.5s, border-radius 0.5s, width 0.1s, height 0.5s ease-in, -webkit-transform 0.5s;
}
span { width: 100%; position: fixed; text-align: left; top: 50px; left: 50px; font-size: 20px; color: white;
}
Some card animation - Script Codes JS Codes
var $item = $('.item');
$item.on('click', function() { $(this).addClass('active'); setTimeout(function(){ $item.addClass('open'); }, 1000);
});
Developer | Andreas Neeven |
Username | aneeven |
Uploaded | September 18, 2022 |
Rating | 3 |
Size | 2,518 Kb |
Views | 24,288 |
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 |
SVG Heart Animation | 2,753 Kb |
Neon Hexagons SVG Image-Fill | 2,928 Kb |
Digital Sucks | 2,769 Kb |
Flexbox grow, shrink and basis | 2,305 Kb |
Sass loop | 2,652 Kb |
Flexbox align | 2,098 Kb |
Custom Profile | 2,533 Kb |
Spinning Loader | 10,644 Kb |
Flexbox Order | 2,117 Kb |
Yay for blend-modes | 2,443 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 |
Review test | Otro_user_gil | 4,054 Kb |
Flat UI - Checkbox FIX | ARS | 2,663 Kb |
Use the Twitchtv JSON API | Roksanaop | 3,561 Kb |
Feedback Page | TessDiNapoli | 2,836 Kb |
Virtual vinyl | Davidpanik | 3,474 Kb |
Animated Logo | Shakdaniel | 2,672 Kb |
Clock with full screen background | Owebboy | 2,415 Kb |
LAMP PURE CSS with Animation | Dam62500 | 2,911 Kb |
Retina canvas w. resize | Erikterwan | 1,882 Kb |
Two tables and header with jspdf-autotable | Someatoms | 2,245 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!