http://epic-spinners.epicmax.co/
[1]
<div class="flower-spinner">
<div class="dots-container">
<div class="bigger-dot">
<div class="smaller-dot"></div>
</div>
</div>
</div>
.flower-spinner, .flower-spinner * {
box-sizing: border-box;
}
.flower-spinner {
height: 70px;
width: 70px;
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
}
.flower-spinner .dots-container {
height: calc(70px / 7);
width: calc(70px / 7);
}
.flower-spinner .smaller-dot {
background: #ff1d5e;
height: 100%;
width: 100%;
border-radius: 50%;
animation: flower-spinner-smaller-dot-animation 2.5s 0s infinite both;
}
.flower-spinner .bigger-dot {
background: #ff1d5e;
height: 100%;
width: 100%;
padding: 10%;
border-radius: 50%;
animation: flower-spinner-bigger-dot-animation 2.5s 0s infinite both;
}
@keyframes flower-spinner-bigger-dot-animation {
0%, 100% {
box-shadow: rgb(255, 29, 94) 0px 0px 0px,
rgb(255, 29, 94) 0px 0px 0px,
rgb(255, 29, 94) 0px 0px 0px,
rgb(255, 29, 94) 0px 0px 0px,
rgb(255, 29, 94) 0px 0px 0px,
rgb(255, 29, 94) 0px 0px 0px,
rgb(255, 29, 94) 0px 0px 0px,
rgb(255, 29, 94) 0px 0px 0px;
}
50% {
transform: rotate(180deg);
}
25%, 75% {
box-shadow: rgb(255, 29, 94) 26px 0px 0px,
rgb(255, 29, 94) -26px 0px 0px,
rgb(255, 29, 94) 0px 26px 0px,
rgb(255, 29, 94) 0px -26px 0px,
rgb(255, 29, 94) 19px -19px 0px,
rgb(255, 29, 94) 19px 19px 0px,
rgb(255, 29, 94) -19px -19px 0px,
rgb(255, 29, 94) -19px 19px 0px;
}
100% {
transform: rotate(360deg);
box-shadow: rgb(255, 29, 94) 0px 0px 0px,
rgb(255, 29, 94) 0px 0px 0px,
rgb(255, 29, 94) 0px 0px 0px,
rgb(255, 29, 94) 0px 0px 0px,
rgb(255, 29, 94) 0px 0px 0px,
rgb(255, 29, 94) 0px 0px 0px,
rgb(255, 29, 94) 0px 0px 0px,
rgb(255, 29, 94) 0px 0px 0px;
}
}
@keyframes flower-spinner-smaller-dot-animation {
0%, 100% {
box-shadow: rgb(255, 29, 94) 0px 0px 0px,
rgb(255, 29, 94) 0px 0px 0px,
rgb(255, 29, 94) 0px 0px 0px,
rgb(255, 29, 94) 0px 0px 0px,
rgb(255, 29, 94) 0px 0px 0px,
rgb(255, 29, 94) 0px 0px 0px,
rgb(255, 29, 94) 0px 0px 0px,
rgb(255, 29, 94) 0px 0px 0px;
}
25%, 75% {
box-shadow: rgb(255, 29, 94) 14px 0px 0px,
rgb(255, 29, 94) -14px 0px 0px,
rgb(255, 29, 94) 0px 14px 0px,
rgb(255, 29, 94) 0px -14px 0px,
rgb(255, 29, 94) 10px -10px 0px,
rgb(255, 29, 94) 10px 10px 0px,
rgb(255, 29, 94) -10px -10px 0px,
rgb(255, 29, 94) -10px 10px 0px;
}
100% {
box-shadow: rgb(255, 29, 94) 0px 0px 0px,
rgb(255, 29, 94) 0px 0px 0px,
rgb(255, 29, 94) 0px 0px 0px,
rgb(255, 29, 94) 0px 0px 0px,
rgb(255, 29, 94) 0px 0px 0px,
rgb(255, 29, 94) 0px 0px 0px,
rgb(255, 29, 94) 0px 0px 0px,
rgb(255, 29, 94) 0px 0px 0px;
}
}
[2]
<div class="pixel-spinner">
<div class="pixel-spinner-inner"></div>
</div>
.pixel-spinner, .pixel-spinner * {
box-sizing: border-box;
}
.pixel-spinner {
height: 70px;
width: 70px;
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
}
.pixel-spinner .pixel-spinner-inner {
width: calc(70px / 7);
height: calc(70px / 7);
background-color: #ff1d5e;
color: #ff1d5e;
box-shadow: 15px 15px 0 0,
-15px -15px 0 0,
15px -15px 0 0,
-15px 15px 0 0,
0 15px 0 0,
15px 0 0 0,
-15px 0 0 0,
0 -15px 0 0;
animation: pixel-spinner-animation 2000ms linear infinite;
}
@keyframes pixel-spinner-animation {
50% {
box-shadow: 20px 20px 0px 0px,
-20px -20px 0px 0px,
20px -20px 0px 0px,
-20px 20px 0px 0px,
0px 10px 0px 0px,
10px 0px 0px 0px,
-10px 0px 0px 0px,
0px -10px 0px 0px;
}
75% {
box-shadow: 20px 20px 0px 0px,
-20px -20px 0px 0px,
20px -20px 0px 0px,
-20px 20px 0px 0px,
0px 10px 0px 0px,
10px 0px 0px 0px,
-10px 0px 0px 0px,
0px -10px 0px 0px;
}
100% {
transform: rotate(360deg);
}
}
'디자인 > 디자인 이야기' 카테고리의 다른 글
프리젠테이션에 GIF추가 공식가이드 (0) | 2018.05.02 |
---|---|
5가지 프리젠테이션 디자인 팁 (0) | 2018.05.02 |
동물을 그리는 방법 : 55 가지의 유익한 정보 (0) | 2018.05.01 |
세계 일러스트 어워드 2018 shortlist (0) | 2018.05.01 |
3dsmax unreal script (0) | 2018.04.12 |
폰트,글꼴 모음 (0) | 2018.02.19 |
설화수플래그십스토어_압구정 (0) | 2018.01.19 |
무료아이콘 사이트 15곳 소개 (2) | 2018.01.18 |
댓글