Circular Buttons Animation Concept
How do I make an circular buttons animation concept?
What is a circular buttons animation concept? How do you make a circular buttons animation concept? This script and codes were developed by Fabrizio Bianchi on 07 August 2022, Sunday.
Circular Buttons Animation Concept - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Circular Buttons Animation Concept</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class='close-back' id='button'> <div class='b1'></div> <div class='b2'></div> <div class='b3'></div> <div class='b4'></div>
</div>
<div class='next-back' id='button'> <div class='b1'></div> <div class='b2'></div> <div class='b3'></div> <div class='b4'></div>
</div>
<!-- * DEMO ONLY*/ -->
<h4>Circular Buttons Animation Concept</h4> <script src='http://codepen.io/fbrz/pen/9a3e4ee2ef6dfd479ad33a2c85146fc1.js'></script>
</body>
</html>
Circular Buttons Animation Concept - Script Codes CSS Codes
#button { background: #000; border-radius: 50%; cursor: pointer; height: 100px; width: 100px; position: absolute; top: calc(50% - 50px);
}
#button div { background: #FFFFFF; height: 4px; width: 40px; position: absolute; left: 11px; top: 48px; transition: all .3s ease-in-out; transform-origin: 38px 2px;
}
.close-back { left: calc(50% - 110px);
}
.close-back .b1 { transform: translateX(0) rotate(45deg);
}
.close-back .b2 { transform: translateX(0) rotate(135deg);
}
.close-back .b3 { transform: translateX(0) rotate(225deg);
}
.close-back .b4 { transform: translateX(0) rotate(315deg);
}
.close-back:hover .b1 { transform: translateX(-21px) rotate(135deg);
}
.close-back:hover .b2 { transform: translateX(-20px) rotate(180deg);
}
.close-back:hover .b3 { transform: translateX(-20px) rotate(180deg);
}
.close-back:hover .b4 { transform: translateX(-21px) rotate(225deg);
}
.next-back { left: calc(50% + 10px);
}
.next-back .b1 { transform: translateX(18px) rotate(0deg);
}
.next-back .b2 { transform: translateX(20px) rotate(45deg);
}
.next-back .b3 { transform: translateX(20px) rotate(315deg);
}
.next-back .b4 { transform: translateX(18px) rotate(360deg);
}
.next-back:hover .b1 { transform: translateX(-21px) rotate(135deg);
}
.next-back:hover .b2 { transform: translateX(-20px) rotate(180deg);
}
.next-back:hover .b3 { transform: translateX(-20px) rotate(180deg);
}
.next-back:hover .b4 { transform: translateX(-21px) rotate(225deg);
}
/* DEMO ONLY */
h4 { font-weight: 200; font-size: 13px; position: absolute; bottom: 20px; left: 20px; margin: 0; font-family: sans-serif; color: #000000; text-transform: uppercase;
}
Developer | Fabrizio Bianchi |
Username | fbrz |
Uploaded | August 07, 2022 |
Rating | 4.5 |
Size | 2,674 Kb |
Views | 34,408 |
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 iPhone 6 | 5,118 Kb |
8 bit spinner | 2,916 Kb |
Pull Menu - Menu Interaction Concept | 6,675 Kb |
Simple Responsive Text | 2,282 Kb |
Pure CSS One Div Weather Animated Icons | 4,503 Kb |
CSS 3D Bending Effect - Page Flip | 3,782 Kb |
3D Social Buttons Concept | 2,549 Kb |
Coolors Loader | 2,776 Kb |
Mobile App Pages Animation | 66,961 Kb |
CSS3 Only - Semantic Sandwich | 8,525 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 |
Simple Login Form | JoshBlackwood | 4,418 Kb |
Price Comparison Table | Orrinward | 3,459 Kb |
Obligatory CSS3 UI Nav | Romandiaz | 9,017 Kb |
IbrahimJabbari-Effect21 | Ibrahimjabbari | 1,882 Kb |
CSS3 Snow Animation | NickyCDK | 1,695 Kb |
Social Profiles | Lachlanjc | 1,939 Kb |
Dice | Fraina | 5,026 Kb |
Cofee and sugar | Tripack | 2,094 Kb |
Animated Vertical CSS3 Menu Black | MaCeLMp4 | 2,750 Kb |
The Monty Hall Problem | Melatonind | 4,360 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!