p {
background: none;
background: -moz-linear-gradient(right, #cb58fe 0%, #876ef8 100%);
background: -webkit-linear-gradient(right, #cb58fe 0%, #876ef8 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#cb58fe', endColorstr='#876ef8', GradientType=1);
color: #cb58fe; /* ie에서 보이는 컬러 */
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
'Coding > HTML+CSS' 카테고리의 다른 글
[CSS] justify-content: flex-end 속성이 안 먹는 이유 (0) | 2021.12.29 |
---|---|
[CSS] img 사이즈 조절 시 흐려지는 현상 (0) | 2021.12.21 |
[CSS] IE에서 flexbox 이미지 버그 해결방법 (0) | 2021.07.07 |
[CSS] 글씨 써두고 bg에 먹인 아이콘만 보이고 싶을 때 (0) | 2021.06.24 |
[CSS] counter()로 넘버링하기 (0) | 2021.06.18 |