Skip to content

Commit 738238d

Browse files
authored
Merge pull request #121 from codeit-maso/feature/Yun
🐛 fix: 모바일에서 버튼이 active상태일때만 스타일 적용
2 parents 455d62f + 52670ec commit 738238d

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/components/Card/Card.module.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,15 @@
102102
}
103103
}
104104
}
105+
@media (max-width: 1023px) {
106+
&:active {
107+
background-color: $error;
108+
border-color: $gray-400;
109+
&:hover img {
110+
animation: shake 0.5s ease-in-out;
111+
}
112+
}
113+
}
105114
}
106115
}
107116
}

0 commit comments

Comments
 (0)