틀:로시아/styles.css: 두 판 사이의 차이

편집 요약 없음
태그: 수동 되돌리기
편집 요약 없음
36번째 줄: 36번째 줄:
@keyframes box-ani {
@keyframes box-ani {
from {
from {
transform: translate(0px, 0px);
transform: scale(1, 1);
}
}
to {
to {
transform: translate(0px, 100px);
transform: scale(1, 2);
}
}
}
}

2023년 5월 20일 (토) 21:21 판

.losiacard {
  display: inline-block;
  overflow: hidden;
  width: 190px;
  height: 280px;
  border-radius: 5px;
  transform: scale(0.90); 
  transition: .2s ease-out;
}

.losiacard:hover{
  transition: .2s ease-in;
  transform: scale(0.995); 
  z-index:3;
  margin-left: auto;
  margin-right: auto;
   }
   
.losiacard img {
  display: inline-block;
  overflow: hidden;
  width: 190px;
  height: 280px;
  border-radius: 5px;
  transform: scale(0.90); 
  transition: .2s ease-out;
}

.rotate{
	transition: transform 2s;
}
.rotate:active{
	transform: rotate(70deg);
}

@keyframes box-ani {
	from {
		transform: scale(1, 1);
	}
	to {
		transform: scale(1, 2);
	}
}
.box {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%
}
.box:active{
	animation: box-ani 1s linear forwards;
}