참고
https://developer.mozilla.org/en-US/docs/Web/CSS/background-clip
background-clip - CSS: Cascading Style Sheets | MDN
The background-clip CSS property sets whether an element's background extends underneath its border box, padding box, or content box.
developer.mozilla.org
코드
- background-clip을 사용하면 border-radius를 적용할 수 있음
See the Pen border gradation by 이아름 (@aahreum) on CodePen.
728x90