<! DOCTYPEhtml>          
<html>          
<head>          
    <meta charset="UTF-8">      
    <meta name="viewport" content="Width =device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">    
    <title>CSS3 gradient text</title>        
    <style type="text/css">  
      .text-gradient {  display: inline-block;color: green;font-size: 24px;font-family: Microsoft Yahei;background-image: -webkit-linear-gradient(left, rgb(255.118.92), rgb(255.35.179)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; };</style>        
</head>          
<body>  
  <div class="text-gradient">Xu Tongbao</div> 
</body>          
</html>
Copy the code