Animated Button-Fade in Effect
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="STYLESHEET"type="text/css"href="web.css">
<title>web design</title>
</head>
<body>
<h1>Animated-Button Fade in Effect</h1>
<button class="btn">Hover Over me</button>
</body>
</html>
CSS Animated Button-Fade in Effect Style
.btn{
background-color: #f4511e;
border: none;
color: #fff;
padding:16px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
opacity:0 6;
font-size: 16px;
transition:0.3s;
cursor: pointer;
}
.btn:hover{
opacity:0 1;
}
No comments:
Post a Comment