Answers for "hetml css button"

CSS
0

css 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>Perfect Button Tutorial BY Sampanna Bhattarai</title>
</head>
<body>
          <style>
                    *{
          margin: 0;
          padding: 0;
          font-family: sans-serif;

}

body{
          display: flex;
          align-items: center;
          justify-content: center;
          height: 100vh;
          background: #000;
}
body button{
          background: linear-gradient(rgb(25, 255, 156),rgb(119, 157, 255),rgb(0, 195, 255));
          color: rgb(255, 255, 255);
          outline: none;
          border: none;
          font-size: 50px;
          width: 5em;
          border-radius: 12px;
          cursor: pointer;
          transition: all 0.9s ease-in-out;
}
body button:hover{
          border-radius: 19px;
          background-color: aqua;
          box-shadow: 0px 0px 09px 10px rgba(0, 0, 255, .2),
                                0px 0px 09px 10px rgba(255,255,255, .2)
          ;
}
          </style>
          <button>Click</button> 
<!-- I am Sampanna bhattarai -->
</body>
</html>
Posted by: Guest on March-28-2022

Browse Popular Code Answers by Language