border-top: 3px solid transparent;
border-image: linear-gradient(90deg, rgba(253,29,29,1) 0%, rgba(252,176,69,1) 30%, rgba(142,255,121,1) 64%, rgba(131,58,180,1) 100%) 1;
background-origin: border-box;
background-clip: content-box, border-box;
background: #fff;
border-image의 맨끝 1은 꼭 넣기
둥글기가 들어가있으면 적용되지 않음
'Css' 카테고리의 다른 글
글자위에 점 포인트 주기 (0) | 2023.04.08 |
---|---|
스크롤 바(scrollbar) 없애기 (0) | 2023.03.28 |
폰트어썸 before, after (FontAwesome) Css에서 사용하기 (0) | 2023.03.24 |
텍스트 문단 수 줄이기 (0) | 2023.03.24 |
input radio 버튼 꾸미기 (0) | 2023.03.23 |