Skip to content

Commit f608995

Browse files
committed
기본 소스코드 추가
1 parent 268cbd6 commit f608995

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

animation/01.html

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<title>CSS Animation</title>
7+
<style>
8+
.ball {
9+
position: absolute;
10+
left: 0;
11+
right: 0;
12+
top: 0;
13+
bottom: 0;
14+
margin: auto;
15+
width: 100px;
16+
height: 100px;
17+
border-radius: 50%;
18+
background: coral;
19+
20+
}
21+
22+
/* animation: 축약형, 단축형, 속기형 등으로 부른다. 줄여서 쓰는 형태로, 애니메이션의 모든 속성을 한꺼번에 지정 가능 */
23+
/* animation-name: 애니메이션의 이름 */
24+
/* animation-duration: 애니메이션이 재생(지속)되는 시간 */
25+
/* animation-delay: 애니메이션의 재생이 시작되기 전 대기 시간 */
26+
/* animation-timing-function: 애니메이션의 가속, 감속을 조정해서 애니메이션 느낌을 다르게 */
27+
/* animation-iteration-count: 애니메이션의 반복 횟수 */
28+
/* animation-direction: 애니메이션의 재생 방향 normal, reverse, alternate, alternate-reverse */
29+
/* animation-play-state: 애니메이션의 재생, 정지 상태 running, paused */
30+
/* animation-fill-mode: 애니메이션이 재생되지 않는 동안의 스타일을 지정 none, forwards, backwards, both */
31+
</style>
32+
</head>
33+
<body>
34+
<div class="ball"></div>
35+
</body>
36+
</html>

0 commit comments

Comments
 (0)