📱Button color stays after tapping on phones (hover)
휴대폰에서 버튼을 누른 뒤 색이 그대로 남아요
The color that changes when a mouse hovers stays on touch screens even after you lift your finger.
🤔 Why does it happen?
- Hover effects apply on touch devices too
🔧 Try this
- Turn hover effects on only for devices with a mouse (@media (hover: hover))
- For touch, use an effect that shows only while pressing (:active)
🤖 Ask your AI like this
On phones, the hover color stays after I tap a button. Please make hover effects apply only on devices with a mouse, and on touch, show the effect only while it's being pressed.
Replace the [ ] parts with your own situation, and paste the error with a few extra lines before and after it.