<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>style button</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container">
<button type="button">Accept</button>
<button type="button" class="reject">Reject</button>
</div>
</body>
</html>
*
{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family:'poppins',sans-serif;
}
.container{
height: 100vh;
width: 100%;
background: #ebeef1;
display: flex;
align-items: center;
justify-content: center;
}
button{
font-size: 32px;
font-weight: 500;
padding: 20px;
margin: 30px;
width: 350px;
background: #ebeef1;
cursor: none;
border-radius: 50px;
color: #00a037;
box-shadow: 10px 10px 10px -1px rgba(10,99,169,0.16),
-10px -10px 10px -1px rgba(255,255,255,0.70);
}
button.reject{
color: #ed0000;
box-shadow: inset 10px 10px 10px -1px rgba(10,99,169,0.16),
inset -10px -10px 10px -1px rgba(255,255,255,0.70);
}
0 Comments
If your having doubt please let me know