이론/CSS
[CSS] <a>는 transform이 적용되지 않는다.
millfeel1298
2021. 10. 28. 23:28
See the Pen [CSS] <a>는 transform이 적용되지 않는다. by mill (@millfeel) on CodePen.
<a>는 inline 속성이기 때문에 transform이 적용되지 않는다.
<a>를 display: block, inline-block으로 설정하면 사용 가능하다.
[공부좌표]
Transform CSS property doesn't work with <a> element [duplicate]