Professional Documents
Culture Documents
html {
background-color: rgb(62,59,102);
height: 100%;
overflow: hidden;
section {
cursor: pointer;
[class*="ring"] {
border-radius: 50%;
height: 30em;
@extend %center;
width: 30em;
div {
border-radius: 0%;
height: 100%;
position: relative;
width: 100%;
&:after {
@include transform(scale(0,0));
border-radius: 100%;
content: '';
left: 50%;
height: 3em;
margin-left: -1.5em;
opacity: 0;
position: absolute;
top: -1.2em;
width: 3em;
}
@for $i from 1 through 3 {
.ring#{$i} {
div:after {
section:hover & {
div:after {
animation: none;
top: -1.6em;
transform: scale(1,1);
.center {
background: blue;
border-radius: 50%;
height: 3em;
box-shadow: 0 0 10px rgba(blue,0.3), inset 0 0 20px rgba(blue,0.3);
@extend %center;
width: 3em;
section:hover & {
@keyframes glow {
0%, 100% {
50% {
@keyframes rotate {
0%{
transform: rotate(0deg);
}
100%{
transform: rotate(360deg);
@keyframes squash {
0%,50%, 100%{
transform: scale(1,1);
top: -2.6em;
25%, 75%{
transform: scale(1,1);
top: -1.2em;