All you need to do is add the text that requires gradient color to an outer container (span tag or a tag can be used) in the HTML page, and then add the name attribute to this tag to mark the gradient element, and the rel attribute indicates the color of the gradient. , the format of the rel attribute is very important: