一个彩色立体的按钮

HTML模板

一个彩色立体的按钮,圆弧角。源码如下一个彩色立体的按钮

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>一个彩色立体的按钮</title>
<style type="text/css">
a:hover {
text-decoration: none;
display: inline-block;
padding: 12px 40px;
margin: 10px 20px;
border-radius: 30px;
background-image: linear-gradient(45deg, rgb(46 135 30) 0%, rgb(27 166 106) 50%, rgb(54 185 37) 100%);
background-position: 100% 0;
background-size: 200% 200%;
font-family: 'Montserrat', sans-serif;
font-size: 22px;
font-weight: 300;
color: white;
box-shadow: 0 16px 32px 0 rgba(0, 40, 120, .35);
transition: .5s;
}
a {
text-decoration: none;
display: inline-block;
padding: 12px 40px;
margin: 10px 20px;
border-radius: 30px;
background-image: linear-gradient(45deg, rgb(46 135 30) 0%, rgb(27 166 106) 50%, rgb(54 185 37) 100%);
background-position: 100% 0;
background-size: 200% 200%;
font-family: 'Montserrat', sans-serif;
font-size: 22px;
font-weight: 300;
color: white;
box-shadow: 0px rgba(0, 40, 120, .35);
transition: .5s;
}
</style>
</head>

<body>
<a href="#">Fee Download</a>
</body>
</html>

也许您对下面的内容还感兴趣: