Disabled Button Code
<!DOCTYPE html>
<html>
<head>
<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>
<button class="button">Nomal Boutton</button>
<button class="button disable" >disable Boutton</button>
</body>
</html>
CSS Disabled Button Style Code
.button{
background-color: green;
border: none;
color: #fff;
padding:15px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin:4px 2px;
cursor: pointer;
}
.disable{
opacity:0.6;
cursor: not-allowed;
}
No comments:
Post a Comment