<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
<style>
#yasuo{
width:800px;
height:800px;
margin:0 auto;
text-align:center;
font-weight: bold;
line-height:800px;
font-size:180px;
color: transparent;
background: url('./img/timg.jpg') no-repeat center center;
/* background:linear-gradient(red,yellow); */
-webkit-background-clip: text;
 
}
</style>
</head>
<body>
<div id="yasuo">
blood
</div>
</body>
</html>
背景渐变,及蒙板字体效果中带有背景图使用

 

背景渐变,及蒙板字体效果中带有背景图使用

 

相关文章:

  • 2021-09-26
  • 2022-12-23
  • 2021-12-04
  • 2021-12-04
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-03-30
  • 2021-06-15
  • 2022-12-23
  • 2022-01-02
  • 2021-05-17
  • 2021-10-17
相关资源
相似解决方案