{"id":11850,"date":"2022-02-07T02:57:46","date_gmt":"2022-02-07T07:57:46","guid":{"rendered":"http:\/\/local.brightwhiz\/?post_type=snippets&p=11850"},"modified":"2022-02-07T02:57:48","modified_gmt":"2022-02-07T07:57:48","slug":"display-text-with-multiple-colors-css","status":"publish","type":"snippets","link":"http:\/\/local.brightwhiz\/snippets\/display-text-with-multiple-colors-css\/","title":{"rendered":"How to Display Text With Multiple Colors in CSS"},"content":{"rendered":"\n
Two colors text in CSS:<\/p>\n\n\n\n
h1 {\n font-size: 72px;\n background: -webkit-linear-gradient(green, red);\n -webkit-background-clip: text;\n -webkit-text-fill-color: transparent;\n}<\/code><\/pre>\n","protected":false},"comment_status":"open","ping_status":"closed","template":"","meta":[],"categories":[953,15],"tags":[954,170,303,471],"yoast_head":"\nHow to Display Text With Multiple Colors in CSS<\/title>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\t\n