📝 Added sandbox (code sketchbook)
This commit is contained in:
parent
b475595f7f
commit
b5daf18b1a
142 changed files with 100702 additions and 0 deletions
77
sandbox/css_circle/style.css
Normal file
77
sandbox/css_circle/style.css
Normal file
|
|
@ -0,0 +1,77 @@
|
|||
#container {
|
||||
position: absolute;
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
}
|
||||
|
||||
#halfclip {
|
||||
width: 50%;
|
||||
height: 100%;
|
||||
right: 0px;
|
||||
position: absolute;
|
||||
overflow: hidden;
|
||||
transform-origin: left center;
|
||||
animation: cliprotate 1s steps(2) infinite;
|
||||
}
|
||||
|
||||
.halfcircle {
|
||||
box-sizing: border-box;
|
||||
height: 100%;
|
||||
right: 0px;
|
||||
position: absolute;
|
||||
border: solid 4px transparent;
|
||||
border-top-color: blue;
|
||||
border-left-color: blue;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
#clipped {
|
||||
width: 200%;
|
||||
animation: rotate 0.5s linear infinite;
|
||||
}
|
||||
|
||||
#fixed {
|
||||
width: 100%;
|
||||
transform: rotate(135deg);
|
||||
animation: showfixed 1s steps(2) infinite;
|
||||
}
|
||||
|
||||
@keyframes cliprotate {
|
||||
0% {transform: rotate(0deg);}
|
||||
100% {transform: rotate(360deg);}
|
||||
}
|
||||
|
||||
@keyframes rotate {
|
||||
0% {transform: rotate(-45deg);}
|
||||
100% {transform: rotate(135deg);}
|
||||
}
|
||||
|
||||
@keyframes showfixed {
|
||||
0% {opacity: 0;}
|
||||
49.9% {opacity: 0;}
|
||||
50% {opacity: 1;}
|
||||
100% {opacity: 1;}
|
||||
}
|
||||
|
||||
/***********************
|
||||
* MY ADDITIONS
|
||||
************************/
|
||||
.finalcircle {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
border-radius: 100%;
|
||||
visibility: hidden;
|
||||
background-color: blue;
|
||||
}
|
||||
|
||||
#innercircle {
|
||||
position: absolute;
|
||||
top: 3.5px;
|
||||
width: 4px;
|
||||
height: 4px;
|
||||
background-color: white;
|
||||
border-radius: 100%;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue