CodePen
codepen.io › katmai7 › pen › npRRQP
Border animation (circle)
Minimize CSS Editor · Fold All · Unfold All · html{ height: 100%; } body{ height: 100%; background: #E94E3D; } .wrap{ margin: 100px auto; width: 130px; } @color: #E94E3D; .circle{ position: relative; overflow: hidden; width: 120px; height: 120px; border-radius: 50%; background: #E94E3D; box-shadow: 60px -60px 0 2px @color, -60px -60px 0 2px @color, -60px 60px 0 2px @color, 60px 60px 0 2px @color, 0 0 0 2px #E94E3D; .icon{ position: absolute; display: block; color: #fff; font-size: 20px; } .i1{ top: -25px; left: 55px; } .i2{ top: 50px; left: -20px; } .i3{ bottom: -25px; left: 50px; } .i4{ to
Videos
02:12
🔥 Modern Border Animation | CSS Only - YouTube
10:39
Circle Gradient Border Animation With CSS | CSS Animation - YouTube
Create Eye-Catching CSS Circular Animation in 6 minutes - YouTube
Learn CSS Border Animations in 6 Minutes
03:35
Rotating Circle Border Animation on Hover with CSS - YouTube
CodePen
codepen.io › calebgittins › pen › pwyEjQ
SVG circle border animation
Minimize CSS Editor · Fold All · Unfold All · body { height: 100vh; position: relative; background-color: #f5f5f5; } svg, .logo { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); } .logo { width: 140px; height: 140px; background-color: #231f20; border-radius: 100px; opacity: 0; animation: fadeIn 0.75s linear forwards; animation-delay: 1s; } .circle { stroke-dasharray: 1000; stroke-dashoffset: 1000; animation: stroke 2s ease-out forwards; } @keyframes stroke { to { stroke-dashoffset: 0; } } @keyframes fadeIn { to { opacity: 1; } } !
CodePen
codepen.io › aanjulena › pen › oeGJJa
Pure CSS Animated Circle Border
Minimize CSS Editor · Fold All · Unfold All · body { background: repeating-linear-gradient(45deg, white 0px, lightblue 100px); height: 500px; background-size: 500px 500px; background-repeat: no-repeat; } html { height: 100%; } #container { position: absolute; width: 265px; height: 265px; border: solid red 1px; // animation: colors 2s infinite; } #halfclip { width: 50%; height: 100%; right: 0px; position: absolute; overflow: hidden; transform-origin: left center; animation: cliprotate 2s steps(2) infinite; -webkit-animation: cliprotate 2s steps() infinite; } .halfcircle { box-sizing: border-
CodePen
codepen.io › giana › pen › yYBpVY
CSS Border transitions
I forgot what I was doing } &:hover::after { border-top: 2px solid $blue; // Shows border border-left-width: 2px; // Solid edges, invisible borders border-right-width: 2px; // Solid edges, invisible borders transform: rotate(270deg); // Rotate around circle transition: transform 0.4s linear 0s, border-left-width 0s linear 0.35s; // Solid edge post-rotation } } .circle { border-radius: 100%; box-shadow: none; &::before, &::after { border-radius: 100%; } } .thick { color: $red; &:hover { color: #fff; font-weight: 700; } &::before { border: 2.5em solid transparent; z-index: -1; } &::after { mix-b
Essential Web Apps
essentialwebapps.com › home › 10+ css border animations (latest collection)
10+ CSS border animations (latest collection) - Essential Web Apps
February 27, 2022 - border hover gradient animation css codepen, button border animation css codepen · browsers-compatibility: Chrome, Edge, Firefox, Opera, Safari · Responsive: Yes · Dependencies: No · hover to play · Author Corey Bullman · Demo & Code · Tech used HTML / CSS (SCSS) What is this? circle border animation css codepen, circle border animation css left to right ·
CodePen
codepen.io › Edgardo › pen › jPNdjq
Simple css3 animation from square to circle
<div class="container animated zoomIn"> <div class="row"> <h1 class="text-primary text-center">Square to circle simple CSS3 Animation</h1> <div class="animation"></div> </div> </div> ... h1 { margin-top: 50px; } .animation { margin: 0 auto; margin-top: 70px; width: 250px; height: 250px; background-color: black; border: 15px solid #337ab7; animation: square-to-circle 1s .83s infinite cubic-bezier(1,.015,.295,1.225) alternate; } @keyframes square-to-circle { 0% { border-radius:0 0 0 0; background:black; transform:rotate(0deg); } 25% { border-radius:25% 25% 25% 25%; background:black; transform:rotate(45deg); } 50% { border-radius:50% 50% 50% 50%; background:black; transform:rotate(90deg); } 75% { border-radius:75% 75% 75% 75%; background:black; transform:rotate(180deg); } 100% { border-radius:100% 100% 100% 100%; background:black; transform:rotate(360deg); }
CodePen
codepen.io › tag › border-animation
Pens tagged 'border-animation' on CodePen
CodePen doesn't work very well without JavaScript · We're all for progressive enhancement, but CodePen is a bit unique in that it's all about writing and showing front end code, including JavaScript. It's required to use most of the features of CodePen · Need to know how to enable it?
CodePen
codepen.io › Gozeon › pen › wXBQxY
Border Rotate
Minimize CSS Editor · Fold All · Unfold All · .circle { width: 100px; height: 100px; position: relative; } .circle .border { content: ''; position: absolute; top: 0; bottom: 0; left: 0; right: 0; background: transparent; border-radius: 50%; border: 2px dashed #000; -webkit-animation-name: Rotate; -webkit-animation-duration: 2s; -webkit-animation-iteration-count: infinite; -webkit-animation-timing-function: linear; -moz-animation-name: Rotate; -moz-animation-duration: 2s; -moz-animation-iteration-count: infinite; -moz-animation-timing-function: linear; -ms-animation-name: Rotate; -ms-animati
Smashing Magazine
smashingmagazine.com › 2023 › 10 › animate-along-path-css
How To Animate Along A Path In CSS — Smashing Magazine
October 18, 2023 - That’s a valid approach, but I’m comfortable working directly in CSS for this sort of thing. We start with a single element in the HTML: ... From here, we set the circle’s dimensions. That can be done by declaring a width and using an aspect-ratio to maintain a perfect one-to-one shape. .progress-circle { width: 200px; aspect-ratio: 1; } Now we can round the shape with the border-radius property: