/* 테스트에요 여러분 테스트 */
.ageofchange {
margin-top: 10px;
line-height: 80px;
width: 100%;
animation-name: ageofchange;
font-size: 24pt;
background-color:#580009;
color:#CFA547;
font-family: KoPubDotumMedium;
font-weight: bold;
text-align: center;
animation-duration: 4s;
animation-iteration-count: 1;
}
@keyframes ageofchange {
0% {background-color:#580009; color:#CFA547; left:20px; top:10px;}
50% {background-color:#00F1BA; color:#252525; left:20px; top:10px;}
100% {background-color:#580009; color:#CFA547; left:20px; top:10px;}
}
/* 테스트에요 여러분 테스트 2 */
.animation6 {
margin-top: 10px;
height: 100px;
width: 100%;
border: 1px solid #000000;
overflow: visible;
font-size: 24pt;
text-align: center;
}
.text-animation {
overflow: hidden;
padding-top: 15px;
text-align: center;
font-size: 20pt;
letter-spacing: -0.5px;
animation: text-animation 1s ease;
animation-iteration-count: 1;
transform: translateY(calc(100% - 50%));
}
@keyframes text-animation {
from {
opacity: 0;
transform: translateY(100%);
}
to {
opacity: 1;
transform: translateY(calc(100% - 50%));
}
}
/* 테스트에요 여러분 테스트 3 */
.header {
display: inline-block;
overflow: hidden;
margin: 10px 10px 10px;
margin-right: -10px;
width: 180px;
height: 340px;
border-radius: 15px;
transform: scale(0.85);
transition: .2s ease-out;
}
.header:hover{
transition: .2s ease-in;
transform: scale(0.9);
z-index:3;
}
.header img {
position: relative;
background-position: top;
background-size: cover;
background-repeat: no-repeat;
height: 100%;
overflow: visible;
}
/* 3D 회전 */
.threed-rotate {
display: inline-block;
overflow: hidden;
border-radius: 15px;
width: 185px;
height: 300px;
margin: 10px 0 10px;
line-height: 20px;
opacity: 0.5;
transform: rotateY(0deg) scale(0.8);
transition: 0.8s ease-out;
}
.threed-rotate:hover {
transition: 1.2s ease;
transform: rotateY(360deg) scale(0.95);
opacity: 1;
}
.threed-rotate img {
position: relative;
background-size: cover;
height: 100%;
overflow: hidden;
}
.threed-rotate:nth-child(n+1):nth-child(-n+4) {
margin-right: 5px
}