<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
<style>
body{
margin: 333px;
background: #000;
}
a{
font-size: 33px;
background: linear-gradient(to right bottom,#CF9,red 40%,white 30%);
color:transparent;
-webkit-background-clip: text;
}
</style>
</head>
<body>
<a href="http://www.baidu.com">百度一下</a>
</body>
</html>
Css3-background-clip
最新推荐文章于 2023-04-26 15:13:28 发布