https://youtube.com/shorts/AgkoNOioSDI
.calculator:hover {
box-shadow:0 0 20px rgba(0,0,0, .3);
}
.dots i {
font-size: 2px;
opacity: 0;
bottom: 5px;
}
/* hover 시 다른 엘리먼트에 효과주고 싶을 때 (부모-자식 사이인 경우에만 가능) */
.dots:hover i {
opacity: .6;
} // <div class="dots">에 hover시 .dots안에 있는 모든 i에 효과적용
.button__row .operator:hover {
animation: rotateOperator 0.6s linear infinite;
}
@keyframes rotateOperator {
from {
transform: none;
}
to {
transform: rotateZ(360deg);
}
}
.button__row .number,
.button__row .diverse{
transition-duration: 0.3s;
}
.button__row .number:active {
box-shadow: none;
box-shadow: 0 0 10px rgba(0,0,0, .03);
font-size: 14px;
}
.button__row .diverse:active {
box-shadow: none;
box-shadow: 0 0 10px rgba(0,0,0, .03);
font-size: 14px;
}
.calculator:hover {
box-shadow:0 0 20px rgba(0,0,0, .3);
}