@keyframes identifier {
from {
margin-left: 100%;
width: 300%;
}to {
margin-left: 0%;
width: 100%;
}
}
@keyframes identifier {
0%{
margin-left: 100%;
width: 300%;
}50%{
margin-left: 50%;
width: 200%;
}100%{
margin-left: 0%;
width: 100%;
}
}
/* @keyframes duration | timing-function | delay |
iteration-count | direction | fill-mode | play-state | name */
animation: 3s ease-in 1s 2 reverse both paused slidein;
/* @keyframes duration | timing-function | delay | name */
animation: 3s linear 1s slidein;
/* @keyframes duration | name */
animation: 3s slidein;
<single-animation>#
where
<single-animation> = <time> || <timing-function> || <time> || <single-animation-iteration-count> || <single-animation-direction> || <single-animation-fill-mode> || <single-animation-play-state> || [ none | <keyframes-name> ]
where
<timing-function> = linear | <cubic-bezier-timing-function> | <step-timing-function>
<single-animation-iteration-count> = infinite | <number>
<single-animation-direction> = normal | reverse | alternate | alternate-reverse
<single-animation-fill-mode> = none | forwards | backwards | both
<single-animation-play-state> = running | paused
<keyframes-name> = <custom-ident> | <string>
where
<cubic-bezier-timing-function> = ease | ease-in | ease-out | ease-in-out | cubic-bezier(<number <a href="/ko/docs/CSS/Value_definition_syntax#Brackets" title="Brackets: enclose several entities, combinators, and multipliers to transform them as a single component">[0,1]>, <number>, <number <a href="/ko/docs/CSS/Value_definition_syntax#Brackets" title="Brackets: enclose several entities, combinators, and multipliers to transform them as a single component">[0,1]>, <number>)
<step-timing-function> = step-start | step-end | steps(<integer>[, <step-position>]?)
where
<step-position> = jump-start | jump-end | jump-none | jump-both | start | end
/* Keyword values */
animation-timing-function: ease;
animation-timing-function: ease-in;
animation-timing-function: ease-out;
animation-timing-function: ease-in-out;
animation-timing-function: linear;
animation-timing-function: step-start;
animation-timing-function: step-end;
/* Function values */
animation-timing-function: cubic-bezier(0.1, 0.7, 1.0, 0.1);
animation-timing-function: steps(4, end);
/* Steps Function keywords */
animation-timing-function: steps(4, jump-start);
animation-timing-function: steps(10, jump-end);
animation-timing-function: steps(20, jump-none);
animation-timing-function: steps(5, jump-both);
animation-timing-function: steps(6, start);
animation-timing-function: steps(8, end);
/* Multiple animations */
animation-timing-function: ease, step-start, cubic-bezier(0.1, 0.7, 1.0, 0.1);
/* Global values */
animation-timing-function: inherit;
animation-timing-function: initial;
animation-timing-function: unset;
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<title></title>
<link href="css/style.css" rel="stylesheet" type="text/css">
<link href="" rel="stylesheet" type="text/css">
<style>
*{margin:0; padding:0;}
#wrap{
position:absolute;
width:200px;
height:200px;
border-radius:100px;
text-align: center;
/* 그라데이션 넣는 법*/
background:linear-gradient(to bottom, rgba(135,224,253,1) 0%, rgb(4, 228, 97) 50%, rgb(157, 199, 6) 100% );
animation-name: A_rotate;
animation-duration: 2s;
animation-timing-function: ease-in;
animation-iteration-count: infinite;
animation-direction: alternate;
}
#wrap:hover{
animation-play-state: paused;
}
h1{
line-height: 175px;
}
@keyframes A_rotate {
from{
left:0px;
transform:rotate(0deg);
}50%{
left:250px;
}to{
left:500px;
transform: rotate(360deg);
}
}
</style>
</head>
<body>
<div id="wrap">
<h1>animation</h1>
</div>
</body>
</html>
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<title>pespective_poster</title>
<link href="" rel="stylesheet" type="text/css">
<link type="text/css" href="" rel="stylesheet" >
<style>
.box1{zoom: 0.3;}
.wrap{
perspective: 500px;
}
.poster{
width:300px;
margin: 50px auto;
background-color: #53535366;
transform: rotateY(50deg);
/*transform-style: preserve-3d;*/
animation: spin 5s linear infinite;
}
.img img {width:100%;
transform-origin: top;
vertical-align: top;
transform: rotateX(0deg);
transition: transform .4s ease;
}
@keyframes spin {
0%{
transform:rotateY(0deg);
}100%{
transform:rotateY(360deg);
}
}
.poster:hover img{transform:rotateX(40deg)}
</style>
</head>
<body>
<!-- <div class="box1"><img src="./images/poster.png" alt="포스터입니디."></div> -->
<div class="wrap">
<div class="poster">
<div class="img">
<img src="./images/poster.png" alt="">뮬란 보기
</div>
</div>
</div>
</body>
</html>
@keyframes identifier {
from {
margin-left: 100%;
width: 300%;
}to {
margin-left: 0%;
width: 100%;
}
}
@keyframes identifier {
0%{
margin-left: 100%;
width: 300%;
}50%{
margin-left: 50%;
width: 200%;
}100%{
margin-left: 0%;
width: 100%;
}
}
/* @keyframes duration | timing-function | delay |
iteration-count | direction | fill-mode | play-state | name */
animation: 3s ease-in 1s 2 reverse both paused slidein;
/* @keyframes duration | timing-function | delay | name */
animation: 3s linear 1s slidein;
/* @keyframes duration | name */
animation: 3s slidein;
<single-animation>#
where
<single-animation> = <time> || <timing-function> || <time> || <single-animation-iteration-count> || <single-animation-direction> || <single-animation-fill-mode> || <single-animation-play-state> || [ none | <keyframes-name> ]
where
<timing-function> = linear | <cubic-bezier-timing-function> | <step-timing-function>
<single-animation-iteration-count> = infinite | <number>
<single-animation-direction> = normal | reverse | alternate | alternate-reverse
<single-animation-fill-mode> = none | forwards | backwards | both
<single-animation-play-state> = running | paused
<keyframes-name> = <custom-ident> | <string>
where
<cubic-bezier-timing-function> = ease | ease-in | ease-out | ease-in-out | cubic-bezier(<number <a href="/ko/docs/CSS/Value_definition_syntax#Brackets" title="Brackets: enclose several entities, combinators, and multipliers to transform them as a single component">[0,1]>, <number>, <number <a href="/ko/docs/CSS/Value_definition_syntax#Brackets" title="Brackets: enclose several entities, combinators, and multipliers to transform them as a single component">[0,1]>, <number>)
<step-timing-function> = step-start | step-end | steps(<integer>[, <step-position>]?)
where
<step-position> = jump-start | jump-end | jump-none | jump-both | start | end
/* Keyword values */
animation-timing-function: ease;
animation-timing-function: ease-in;
animation-timing-function: ease-out;
animation-timing-function: ease-in-out;
animation-timing-function: linear;
animation-timing-function: step-start;
animation-timing-function: step-end;
/* Function values */
animation-timing-function: cubic-bezier(0.1, 0.7, 1.0, 0.1);
animation-timing-function: steps(4, end);
/* Steps Function keywords */
animation-timing-function: steps(4, jump-start);
animation-timing-function: steps(10, jump-end);
animation-timing-function: steps(20, jump-none);
animation-timing-function: steps(5, jump-both);
animation-timing-function: steps(6, start);
animation-timing-function: steps(8, end);
/* Multiple animations */
animation-timing-function: ease, step-start, cubic-bezier(0.1, 0.7, 1.0, 0.1);
/* Global values */
animation-timing-function: inherit;
animation-timing-function: initial;
animation-timing-function: unset;
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<title></title>
<link href="css/style.css" rel="stylesheet" type="text/css">
<link href="" rel="stylesheet" type="text/css">
<style>
*{margin:0; padding:0;}
#wrap{
position:absolute;
width:200px;
height:200px;
border-radius:100px;
text-align: center;
/* 그라데이션 넣는 법*/
background:linear-gradient(to bottom, rgba(135,224,253,1) 0%, rgb(4, 228, 97) 50%, rgb(157, 199, 6) 100% );
animation-name: A_rotate;
animation-duration: 2s;
animation-timing-function: ease-in;
animation-iteration-count: infinite;
animation-direction: alternate;
}
#wrap:hover{
animation-play-state: paused;
}
h1{
line-height: 175px;
}
@keyframes A_rotate {
from{
left:0px;
transform:rotate(0deg);
}50%{
left:250px;
}to{
left:500px;
transform: rotate(360deg);
}
}
</style>
</head>
<body>
<div id="wrap">
<h1>animation</h1>
</div>
</body>
</html>
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<title>pespective_poster</title>
<link href="" rel="stylesheet" type="text/css">
<link type="text/css" href="" rel="stylesheet" >
<style>
.box1{zoom: 0.3;}
.wrap{
perspective: 500px;
}
.poster{
width:300px;
margin: 50px auto;
background-color: #53535366;
transform: rotateY(50deg);
/*transform-style: preserve-3d;*/
animation: spin 5s linear infinite;
}
.img img {width:100%;
transform-origin: top;
vertical-align: top;
transform: rotateX(0deg);
transition: transform .4s ease;
}
@keyframes spin {
0%{
transform:rotateY(0deg);
}100%{
transform:rotateY(360deg);
}
}
.poster:hover img{transform:rotateX(40deg)}
</style>
</head>
<body>
<!-- <div class="box1"><img src="./images/poster.png" alt="포스터입니디."></div> -->
<div class="wrap">
<div class="poster">
<div class="img">
<img src="./images/poster.png" alt="">뮬란 보기
</div>
</div>
</div>
</body>
</html>
@keyframes identifier {
from {
margin-left: 100%;
width: 300%;
}to {
margin-left: 0%;
width: 100%;
}
}
@keyframes identifier {
0%{
margin-left: 100%;
width: 300%;
}50%{
margin-left: 50%;
width: 200%;
}100%{
margin-left: 0%;
width: 100%;
}
}
/* @keyframes duration | timing-function | delay |
iteration-count | direction | fill-mode | play-state | name */
animation: 3s ease-in 1s 2 reverse both paused slidein;
/* @keyframes duration | timing-function | delay | name */
animation: 3s linear 1s slidein;
/* @keyframes duration | name */
animation: 3s slidein;
<single-animation>#
where
<single-animation> = <time> || <timing-function> || <time> || <single-animation-iteration-count> || <single-animation-direction> || <single-animation-fill-mode> || <single-animation-play-state> || [ none | <keyframes-name> ]
where
<timing-function> = linear | <cubic-bezier-timing-function> | <step-timing-function>
<single-animation-iteration-count> = infinite | <number>
<single-animation-direction> = normal | reverse | alternate | alternate-reverse
<single-animation-fill-mode> = none | forwards | backwards | both
<single-animation-play-state> = running | paused
<keyframes-name> = <custom-ident> | <string>
where
<cubic-bezier-timing-function> = ease | ease-in | ease-out | ease-in-out | cubic-bezier(<number <a href="/ko/docs/CSS/Value_definition_syntax#Brackets" title="Brackets: enclose several entities, combinators, and multipliers to transform them as a single component">[0,1]>, <number>, <number <a href="/ko/docs/CSS/Value_definition_syntax#Brackets" title="Brackets: enclose several entities, combinators, and multipliers to transform them as a single component">[0,1]>, <number>)
<step-timing-function> = step-start | step-end | steps(<integer>[, <step-position>]?)
where
<step-position> = jump-start | jump-end | jump-none | jump-both | start | end
/* Keyword values */
animation-timing-function: ease;
animation-timing-function: ease-in;
animation-timing-function: ease-out;
animation-timing-function: ease-in-out;
animation-timing-function: linear;
animation-timing-function: step-start;
animation-timing-function: step-end;
/* Function values */
animation-timing-function: cubic-bezier(0.1, 0.7, 1.0, 0.1);
animation-timing-function: steps(4, end);
/* Steps Function keywords */
animation-timing-function: steps(4, jump-start);
animation-timing-function: steps(10, jump-end);
animation-timing-function: steps(20, jump-none);
animation-timing-function: steps(5, jump-both);
animation-timing-function: steps(6, start);
animation-timing-function: steps(8, end);
/* Multiple animations */
animation-timing-function: ease, step-start, cubic-bezier(0.1, 0.7, 1.0, 0.1);
/* Global values */
animation-timing-function: inherit;
animation-timing-function: initial;
animation-timing-function: unset;
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<title></title>
<link href="css/style.css" rel="stylesheet" type="text/css">
<link href="" rel="stylesheet" type="text/css">
<style>
*{margin:0; padding:0;}
#wrap{
position:absolute;
width:200px;
height:200px;
border-radius:100px;
text-align: center;
/* 그라데이션 넣는 법*/
background:linear-gradient(to bottom, rgba(135,224,253,1) 0%, rgb(4, 228, 97) 50%, rgb(157, 199, 6) 100% );
animation-name: A_rotate;
animation-duration: 2s;
animation-timing-function: ease-in;
animation-iteration-count: infinite;
animation-direction: alternate;
}
#wrap:hover{
animation-play-state: paused;
}
h1{
line-height: 175px;
}
@keyframes A_rotate {
from{
left:0px;
transform:rotate(0deg);
}50%{
left:250px;
}to{
left:500px;
transform: rotate(360deg);
}
}
</style>
</head>
<body>
<div id="wrap">
<h1>animation</h1>
</div>
</body>
</html>
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<title>pespective_poster</title>
<link href="" rel="stylesheet" type="text/css">
<link type="text/css" href="" rel="stylesheet" >
<style>
.box1{zoom: 0.3;}
.wrap{
perspective: 500px;
}
.poster{
width:300px;
margin: 50px auto;
background-color: #53535366;
transform: rotateY(50deg);
/*transform-style: preserve-3d;*/
animation: spin 5s linear infinite;
}
.img img {width:100%;
transform-origin: top;
vertical-align: top;
transform: rotateX(0deg);
transition: transform .4s ease;
}
@keyframes spin {
0%{
transform:rotateY(0deg);
}100%{
transform:rotateY(360deg);
}
}
.poster:hover img{transform:rotateX(40deg)}
</style>
</head>
<body>
<!-- <div class="box1"><img src="./images/poster.png" alt="포스터입니디."></div> -->
<div class="wrap">
<div class="poster">
<div class="img">
<img src="./images/poster.png" alt="">뮬란 보기
</div>
</div>
</div>
</body>
</html>
@keyframes identifier {
from {
margin-left: 100%;
width: 300%;
}to {
margin-left: 0%;
width: 100%;
}
}
@keyframes identifier {
0%{
margin-left: 100%;
width: 300%;
}50%{
margin-left: 50%;
width: 200%;
}100%{
margin-left: 0%;
width: 100%;
}
}
/* @keyframes duration | timing-function | delay |
iteration-count | direction | fill-mode | play-state | name */
animation: 3s ease-in 1s 2 reverse both paused slidein;
/* @keyframes duration | timing-function | delay | name */
animation: 3s linear 1s slidein;
/* @keyframes duration | name */
animation: 3s slidein;
<single-animation>#
where
<single-animation> = <time> || <timing-function> || <time> || <single-animation-iteration-count> || <single-animation-direction> || <single-animation-fill-mode> || <single-animation-play-state> || [ none | <keyframes-name> ]
where
<timing-function> = linear | <cubic-bezier-timing-function> | <step-timing-function>
<single-animation-iteration-count> = infinite | <number>
<single-animation-direction> = normal | reverse | alternate | alternate-reverse
<single-animation-fill-mode> = none | forwards | backwards | both
<single-animation-play-state> = running | paused
<keyframes-name> = <custom-ident> | <string>
where
<cubic-bezier-timing-function> = ease | ease-in | ease-out | ease-in-out | cubic-bezier(<number <a href="/ko/docs/CSS/Value_definition_syntax#Brackets" title="Brackets: enclose several entities, combinators, and multipliers to transform them as a single component">[0,1]>, <number>, <number <a href="/ko/docs/CSS/Value_definition_syntax#Brackets" title="Brackets: enclose several entities, combinators, and multipliers to transform them as a single component">[0,1]>, <number>)
<step-timing-function> = step-start | step-end | steps(<integer>[, <step-position>]?)
where
<step-position> = jump-start | jump-end | jump-none | jump-both | start | end
/* Keyword values */
animation-timing-function: ease;
animation-timing-function: ease-in;
animation-timing-function: ease-out;
animation-timing-function: ease-in-out;
animation-timing-function: linear;
animation-timing-function: step-start;
animation-timing-function: step-end;
/* Function values */
animation-timing-function: cubic-bezier(0.1, 0.7, 1.0, 0.1);
animation-timing-function: steps(4, end);
/* Steps Function keywords */
animation-timing-function: steps(4, jump-start);
animation-timing-function: steps(10, jump-end);
animation-timing-function: steps(20, jump-none);
animation-timing-function: steps(5, jump-both);
animation-timing-function: steps(6, start);
animation-timing-function: steps(8, end);
/* Multiple animations */
animation-timing-function: ease, step-start, cubic-bezier(0.1, 0.7, 1.0, 0.1);
/* Global values */
animation-timing-function: inherit;
animation-timing-function: initial;
animation-timing-function: unset;
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<title></title>
<link href="css/style.css" rel="stylesheet" type="text/css">
<link href="" rel="stylesheet" type="text/css">
<style>
*{margin:0; padding:0;}
#wrap{
position:absolute;
width:200px;
height:200px;
border-radius:100px;
text-align: center;
/* 그라데이션 넣는 법*/
background:linear-gradient(to bottom, rgba(135,224,253,1) 0%, rgb(4, 228, 97) 50%, rgb(157, 199, 6) 100% );
animation-name: A_rotate;
animation-duration: 2s;
animation-timing-function: ease-in;
animation-iteration-count: infinite;
animation-direction: alternate;
}
#wrap:hover{
animation-play-state: paused;
}
h1{
line-height: 175px;
}
@keyframes A_rotate {
from{
left:0px;
transform:rotate(0deg);
}50%{
left:250px;
}to{
left:500px;
transform: rotate(360deg);
}
}
</style>
</head>
<body>
<div id="wrap">
<h1>animation</h1>
</div>
</body>
</html>
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<title>pespective_poster</title>
<link href="" rel="stylesheet" type="text/css">
<link type="text/css" href="" rel="stylesheet" >
<style>
.box1{zoom: 0.3;}
.wrap{
perspective: 500px;
}
.poster{
width:300px;
margin: 50px auto;
background-color: #53535366;
transform: rotateY(50deg);
/*transform-style: preserve-3d;*/
animation: spin 5s linear infinite;
}
.img img {width:100%;
transform-origin: top;
vertical-align: top;
transform: rotateX(0deg);
transition: transform .4s ease;
}
@keyframes spin {
0%{
transform:rotateY(0deg);
}100%{
transform:rotateY(360deg);
}
}
.poster:hover img{transform:rotateX(40deg)}
</style>
</head>
<body>
<!-- <div class="box1"><img src="./images/poster.png" alt="포스터입니디."></div> -->
<div class="wrap">
<div class="poster">
<div class="img">
<img src="./images/poster.png" alt="">뮬란 보기
</div>
</div>
</div>
</body>
</html>
@keyframes identifier {
from {
margin-left: 100%;
width: 300%;
}to {
margin-left: 0%;
width: 100%;
}
}
@keyframes identifier {
0%{
margin-left: 100%;
width: 300%;
}50%{
margin-left: 50%;
width: 200%;
}100%{
margin-left: 0%;
width: 100%;
}
}
/* @keyframes duration | timing-function | delay |
iteration-count | direction | fill-mode | play-state | name */
animation: 3s ease-in 1s 2 reverse both paused slidein;
/* @keyframes duration | timing-function | delay | name */
animation: 3s linear 1s slidein;
/* @keyframes duration | name */
animation: 3s slidein;
<single-animation>#
where
<single-animation> = <time> || <timing-function> || <time> || <single-animation-iteration-count> || <single-animation-direction> || <single-animation-fill-mode> || <single-animation-play-state> || [ none | <keyframes-name> ]
where
<timing-function> = linear | <cubic-bezier-timing-function> | <step-timing-function>
<single-animation-iteration-count> = infinite | <number>
<single-animation-direction> = normal | reverse | alternate | alternate-reverse
<single-animation-fill-mode> = none | forwards | backwards | both
<single-animation-play-state> = running | paused
<keyframes-name> = <custom-ident> | <string>
where
<cubic-bezier-timing-function> = ease | ease-in | ease-out | ease-in-out | cubic-bezier(<number <a href="/ko/docs/CSS/Value_definition_syntax#Brackets" title="Brackets: enclose several entities, combinators, and multipliers to transform them as a single component">[0,1]>, <number>, <number <a href="/ko/docs/CSS/Value_definition_syntax#Brackets" title="Brackets: enclose several entities, combinators, and multipliers to transform them as a single component">[0,1]>, <number>)
<step-timing-function> = step-start | step-end | steps(<integer>[, <step-position>]?)
where
<step-position> = jump-start | jump-end | jump-none | jump-both | start | end
/* Keyword values */
animation-timing-function: ease;
animation-timing-function: ease-in;
animation-timing-function: ease-out;
animation-timing-function: ease-in-out;
animation-timing-function: linear;
animation-timing-function: step-start;
animation-timing-function: step-end;
/* Function values */
animation-timing-function: cubic-bezier(0.1, 0.7, 1.0, 0.1);
animation-timing-function: steps(4, end);
/* Steps Function keywords */
animation-timing-function: steps(4, jump-start);
animation-timing-function: steps(10, jump-end);
animation-timing-function: steps(20, jump-none);
animation-timing-function: steps(5, jump-both);
animation-timing-function: steps(6, start);
animation-timing-function: steps(8, end);
/* Multiple animations */
animation-timing-function: ease, step-start, cubic-bezier(0.1, 0.7, 1.0, 0.1);
/* Global values */
animation-timing-function: inherit;
animation-timing-function: initial;
animation-timing-function: unset;
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<title></title>
<link href="css/style.css" rel="stylesheet" type="text/css">
<link href="" rel="stylesheet" type="text/css">
<style>
*{margin:0; padding:0;}
#wrap{
position:absolute;
width:200px;
height:200px;
border-radius:100px;
text-align: center;
/* 그라데이션 넣는 법*/
background:linear-gradient(to bottom, rgba(135,224,253,1) 0%, rgb(4, 228, 97) 50%, rgb(157, 199, 6) 100% );
animation-name: A_rotate;
animation-duration: 2s;
animation-timing-function: ease-in;
animation-iteration-count: infinite;
animation-direction: alternate;
}
#wrap:hover{
animation-play-state: paused;
}
h1{
line-height: 175px;
}
@keyframes A_rotate {
from{
left:0px;
transform:rotate(0deg);
}50%{
left:250px;
}to{
left:500px;
transform: rotate(360deg);
}
}
</style>
</head>
<body>
<div id="wrap">
<h1>animation</h1>
</div>
</body>
</html>
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<title>pespective_poster</title>
<link href="" rel="stylesheet" type="text/css">
<link type="text/css" href="" rel="stylesheet" >
<style>
.box1{zoom: 0.3;}
.wrap{
perspective: 500px;
}
.poster{
width:300px;
margin: 50px auto;
background-color: #53535366;
transform: rotateY(50deg);
/*transform-style: preserve-3d;*/
animation: spin 5s linear infinite;
}
.img img {width:100%;
transform-origin: top;
vertical-align: top;
transform: rotateX(0deg);
transition: transform .4s ease;
}
@keyframes spin {
0%{
transform:rotateY(0deg);
}100%{
transform:rotateY(360deg);
}
}
.poster:hover img{transform:rotateX(40deg)}
</style>
</head>
<body>
<!-- <div class="box1"><img src="./images/poster.png" alt="포스터입니디."></div> -->
<div class="wrap">
<div class="poster">
<div class="img">
<img src="./images/poster.png" alt="">뮬란 보기
</div>
</div>
</div>
</body>
</html>