Half Circle Hover Effect
How do I make an half circle hover effect?
A simple hover effect using two half circles made from a border-radius and some CSS3 animations.. What is a half circle hover effect? How do you make a half circle hover effect? This script and codes were developed by Paul Demers on 28 August 2022, Sunday.
Half Circle Hover Effect - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Half Circle Hover Effect</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <link rel='stylesheet prefetch' href='http://fonts.googleapis.com/css?family=Oleo+Script'> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="container"> <div class="intro"> <h1>Half Circle Hover Effect</h1> <p>A simple hover effect using two half circles made from a border-radius and some CSS3 animations.</p> </div> <hr /> <div class="spinner-wrapper"> <div class="spinner"> <div class="inner-spin"></div> <span class="spinner-content"> <p>Yesterday's Special</p> <img src="http://lorempixel.com/600/600/food/"> </span> </div> <div class="spinner"> <div class="inner-spin"></div> <span class="spinner-content"> <p>Today's Special</p> <img src="http://lorempixel.com/600/600/food/"> </span> </div> <div class="spinner"> <div class="inner-spin"></div> <span class="spinner-content"> <p>Tomorrow's Special</p> <img src="http://lorempixel.com/600/600/food/"> </span> </div> </div>
</div>
</body>
</html>
Half Circle Hover Effect - Script Codes CSS Codes
* { box-sizing: border-box;
}
html { background: url(http://subtlepatterns.subtlepatterns.netdna-cdn.com/patterns/bedge_grunge.png) repeat;
}
body { color: #222;
}
.intro { text-align: center; display: block; padding-bottom: 0.5em; margin: 0 auto;
}
h1 { font-family: "Oleo Script"; text-shadow: white 1px 1px 0; color: #274b6a;
}
.container { width: 90%; margin: 0 auto;
}
.spinner-wrapper { width: 72em; margin: 0 auto;
}
.spinner { width: 20em; height: 20em; margin: 0 2em; cursor: pointer; position: relative; float: left;
}
.spinner p { position: absolute; top: 50%; width: 100%; text-align: center; font-size: 1.5rem; color: #222; font-weight: bold; opacity: 0; -webkit-transition: all 1s; margin-top: -0.75rem;
}
.inner-spin { width: 20em; height: 20em; -webkit-transform: rotate(20deg); -webkit-transition: all 1s; /* Hardware acceleration FTW! */ -webkit-transform: translateZ(0); -moz-transform: translateZ(0);
}
.inner-spin:before, .inner-spin:after { display: block; margin: 0 auto; position: absolute;
}
.inner-spin:before, .inner-spin:after { content: ""; height: 10em; width: 20em; z-index: 1;
}
.inner-spin:before { border-radius: 20em 20em 0 0; background: #105B63;
}
.inner-spin:after { top: 10em; border-radius: 0 0 19em 19em; background: #FFD34E;
}
.spinner-content { display: block; margin: 0 auto; position: absolute; width: 19em; height: 19em; background: white; border-radius: 19em; z-index: 2; top: 50%; left: 50%; margin-top: -9.5em; margin-left: -9.5em;
}
.spinner:hover { opacity: 0.95;
}
.spinner:hover .inner-spin { -webkit-transform: rotate(180deg);
}
.spinner:hover img { opacity: 0.25;
}
.spinner:hover p { opacity: 1;
}
img { width: 19em; height: 19em; border-radius: 19em; opacity: 1; -webkit-transition: all 1s;
}
Developer | Paul Demers |
Username | demersdesigns |
Uploaded | August 28, 2022 |
Rating | 4.5 |
Size | 3,213 Kb |
Views | 56,672 |
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 |
CSS3 Filters Exploration | 3,308 Kb |
A Pen by Paul Demers | 2,526 Kb |
Populate Login with User Avatar | 3,324 Kb |
CodePen Boston Layout 1 | 4,234 Kb |
Fancy Select Demo | 5,306 Kb |
Project Timeline Visualization | 10,115 Kb |
Air Quality Gauge | 5,812 Kb |
Project Timeline | 9,790 Kb |
Sticky Header Fade In On Scroll | 4,057 Kb |
Icon Fonts and CSS3 Animations | 3,288 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 |
Loading animation with css | Icebob | 2,947 Kb |
Glitchy Text Effect | Kescoe | 2,208 Kb |
700 Synapses Per Second | Silentkrange | 2,138 Kb |
Image grid with captions | Mchernin34 | 2,222 Kb |
Mobile first social buttons with no iframe | Alistairtweedie | 3,158 Kb |
A Pen by Malith Hettiarachchi | MalZiiirA | 5,531 Kb |
Login with flip 3d animation | Mariusbalaj | 3,014 Kb |
Day 11 - Calendar Card | Arnellebalane | 6,984 Kb |
CSS Infinite 360 | APinix | 5,564 Kb |
SCSS Simple Animated Drop-In | Danwarfel | 2,175 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!