250x250
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- css3
- react
- 비전공자
- 애니메이션
- 자바스크립트
- 개발자
- iPhone
- effect
- 비전공 개발자
- SWIFT
- javascript
- IOS
- 풀스택
- html5
- image
- ipad
- xcode
- 프론트엔드
- CSS
- button
- php
- hover
- iOS 개발자
- MAC
- jQuery
- 백엔드
- front-end
- HTML
- keyframes
- Animation
Archives
- Today
- Total
비전공자 개발일기
Universe Loading 본문
728x90
SMALL
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>UNIVERSE LOADING</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<!-- GRADIENT SPINNER -->
<div class="spinner-box">
<div class="circle-border">
<div class="circle-core"></div>
</div>
</div>
<!-- SPINNER ORBITS -->
<div class="spinner-box">
<div class="blue-orbit leo">
</div>
<div class="green-orbit leo">
</div>
<div class="red-orbit leo">
</div>
<div class="white-orbit w1 leo">
</div>
<div class="white-orbit w2 leo">
</div>
<div class="white-orbit w3 leo">
</div>
</div>
<!-- GRADIENT CIRCLE PLANES -->
<div class="spinner-box">
<div class="leo-border-1">
<div class="leo-core-1"></div>
</div>
<div class="leo-border-2">
<div class="leo-core-2"></div>
</div>
</div>
<!-- SPINNING SQUARES -->
<div class="spinner-box">
<div class="configure-border-1">
<div class="configure-core"></div>
</div>
<div class="configure-border-2">
<div class="configure-core"></div>
</div>
</div>
<!-- LOADING DOTS... -->
<div class="spinner-box">
<div class="pulse-container">
<div class="pulse-bubble pulse-bubble-1"></div>
<div class="pulse-bubble pulse-bubble-2"></div>
<div class="pulse-bubble pulse-bubble-3"></div>
</div>
</div>
<!-- SOLAR SYSTEM -->
<div class="spinner-box">
<div class="solar-system">
<div class="earth-orbit orbit">
<div class="planet earth"></div>
<div class="venus-orbit orbit">
<div class="planet venus"></div>
<div class="mercury-orbit orbit">
<div class="planet mercury"></div>
<div class="sun"></div>
</div>
</div>
</div>
</div>
</div>
<!-- Three Quarter Spinner -->
<div class="spinner-box">
<div class="three-quarter-spinner"></div>
</div>
</body>
</html>
/* KEYFRAMES */
@keyframes spin {
from {
transform: rotate(0);
}
to{
transform: rotate(359deg);
}
}
@keyframes spin3D {
from {
transform: rotate3d(.5,.5,.5, 360deg);
}
to{
transform: rotate3d(0deg);
}
}
@keyframes configure-clockwise {
0% {
transform: rotate(0);
}
25% {
transform: rotate(90deg);
}
50% {
transform: rotate(180deg);
}
75% {
transform: rotate(270deg);
}
100% {
transform: rotate(360deg);
}
}
@keyframes configure-xclockwise {
0% {
transform: rotate(45deg);
}
25% {
transform: rotate(-45deg);
}
50% {
transform: rotate(-135deg);
}
75% {
transform: rotate(-225deg);
}
100% {
transform: rotate(-315deg);
}
}
@keyframes pulse {
from {
opacity: 1;
transform: scale(1);
}
to {
opacity: .25;
transform: scale(.75);
}
}
/* GRID STYLING */
* {
box-sizing: border-box;
}
body {
min-height: 100vh;
background-color: #1d2630;
display: flex;
justify-content: space-between;
flex-wrap: wrap;
align-items: flex-start;
}
.spinner-box {
width: 300px;
height: 300px;
display: flex;
justify-content: center;
align-items: center;
background-color: transparent;
}
/* SPINNING CIRCLE */
.leo-border-1 {
position: absolute;
width: 150px;
height: 150px;
padding: 3px;
display: flex;
justify-content: center;
align-items: center;
border-radius: 50%;
background: rgb(63,249,220);
background: linear-gradient(0deg, rgba(63,249,220,0.1) 33%, rgba(63,249,220,1) 100%);
animation: spin3D 1.8s linear 0s infinite;
}
.leo-core-1 {
width: 100%;
height: 100%;
background-color: #37474faa;
border-radius: 50%;
}
.leo-border-2 {
position: absolute;
width: 150px;
height: 150px;
padding: 3px;
display: flex;
justify-content: center;
align-items: center;
border-radius: 50%;
background: rgb(251, 91, 83);
background: linear-gradient(0deg, rgba(251, 91, 83, 0.1) 33%, rgba(251, 91, 83, 1) 100%);
animation: spin3D 2.2s linear 0s infinite;
}
.leo-core-2 {
width: 100%;
height: 100%;
background-color: #1d2630aa;
border-radius: 50%;
}
/* ALTERNATING ORBITS */
.circle-border {
width: 150px;
height: 150px;
padding: 3px;
display: flex;
justify-content: center;
align-items: center;
border-radius: 50%;
background: rgb(63,249,220);
background: linear-gradient(0deg, rgba(63,249,220,0.1) 33%, rgba(63,249,220,1) 100%);
animation: spin .8s linear 0s infinite;
}
.circle-core {
width: 100%;
height: 100%;
background-color: #1d2630;
border-radius: 50%;
}
/* X-ROTATING BOXES */
.configure-border-1 {
width: 115px;
height: 115px;
padding: 3px;
position: absolute;
display: flex;
justify-content: center;
align-items: center;
background: #fb5b53;
animation: configure-clockwise 3s ease-in-out 0s infinite alternate;
}
.configure-border-2 {
width: 115px;
height: 115px;
padding: 3px;
left: -115px;
display: flex;
justify-content: center;
align-items: center;
background: rgb(63,249,220);
transform: rotate(45deg);
animation: configure-xclockwise 3s ease-in-out 0s infinite alternate;
}
.configure-core {
width: 100%;
height: 100%;
background-color: #1d2630;
}
/* PULSE BUBBLES */
.pulse-container {
width: 120px;
display: flex;
justify-content: space-between;
align-items: center;
}
.pulse-bubble {
width: 20px;
height: 20px;
border-radius: 50%;
background-color: #3ff9dc;
}
.pulse-bubble-1 {
animation: pulse .4s ease 0s infinite alternate;
}
.pulse-bubble-2 {
animation: pulse .4s ease .2s infinite alternate;
}
.pulse-bubble-3 {
animation: pulse .4s ease .4s infinite alternate;
}
/* SOLAR SYSTEM */
.solar-system {
width: 250px;
height: 250px;
display: flex;
justify-content: center;
align-items: center;
}
.orbit {
position: relative;
display: flex;
justify-content: center;
align-items: center;
border: 1px solid #fafbfC;
border-radius: 50%;
}
.earth-orbit {
width: 165px;
height: 165px;
-webkit-animation: spin 12s linear 0s infinite;
}
.venus-orbit {
width: 120px;
height: 120px;
-webkit-animation: spin 7.4s linear 0s infinite;
}
.mercury-orbit {
width: 90px;
height: 90px;
-webkit-animation: spin 3s linear 0s infinite;
}
.planet {
position: absolute;
top: -5px;
width: 10px;
height: 10px;
border-radius: 50%;
background-color: #3ff9dc;
}
.sun {
width: 35px;
height: 35px;
border-radius: 50%;
background-color: #ffab91;
}
.leo {
position: absolute;
display: flex;
justify-content: center;
align-items: center;
border-radius: 50%;
}
.blue-orbit {
width: 165px;
height: 165px;
border: 1px solid #91daffa5;
-webkit-animation: spin3D 3s linear .2s infinite;
}
.green-orbit {
width: 120px;
height: 120px;
border: 1px solid #91ffbfa5;
-webkit-animation: spin3D 2s linear 0s infinite;
}
.red-orbit {
width: 90px;
height: 90px;
border: 1px solid #ffca91a5;
-webkit-animation: spin3D 1s linear 0s infinite;
}
.white-orbit {
width: 60px;
height: 60px;
border: 2px solid #ffffff;
-webkit-animation: spin3D 10s linear 0s infinite;
}
.w1 {
transform: rotate3D(1, 1, 1, 90deg);
}
.w2 {
transform: rotate3D(1, 2, .5, 90deg);
}
.w3 {
transform: rotate3D(.5, 1, 2, 90deg);
}
.three-quarter-spinner {
width: 50px;
height: 50px;
border: 3px solid #fb5b53;
border-top: 3px solid transparent;
border-radius: 50%;
animation: spin .5s linear 0s infinite;
}
728x90
LIST
'HTML _CSS' 카테고리의 다른 글
BootStrap Progress bar (0) | 2023.02.28 |
---|---|
Text Animation (0) | 2023.02.24 |
Wandering cube Loader (0) | 2023.02.23 |
Apple iMessage (0) | 2023.02.22 |
HTML dialog tag (0) | 2023.02.20 |