How to Make a Html Css Download Button Tutorial - Create Css Download Button

 How to Make a Html Css Download Button Tutorial - Create Css Download Button









<!DOCTYPE html>
<html lang="en">
<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>Document</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
.main {
width: 100%;
height: 100vh;

display: flex;
justify-content: center;
align-items: center;
}
.main a {
text-decoration: none;
background-color: #0957e9;
color: #fff;
padding: 13px 22px;
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
border-radius: 4px;
text-align: center;
display: flex;
justify-content: center;
align-items: center;
transition: 0.4s;
}
.main a span {
margin-right: 10px;
}
.main a:hover {
background-color: #0545bb;
box-shadow: 3px 4px 2px 0px rgba(0, 0, 0, 0.226);
}
</style>
</head>
<body>
<div class="main">
<a href="#"
><span><img src="icon.svg" alt="" /></span> Download</a
>
</div>
</body>
</html>

Post a Comment

Previous Post Next Post