aytdev

Button Degine 9/26/2020

Sep 26th, 2020
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.95 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4.     <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
  5.     <title>Button Desgine</title>
  6.     <style>
  7.         .submitbtn{
  8.             height: 50px;
  9.             width: 300px;
  10.             color: white;
  11.             background-color: #82B440;
  12.             border:none;
  13.             border-radius: 5px;
  14.             font-size: 20px;
  15.             cursor: pointer;
  16.             margin-left:500px;
  17.             margin-top: 200px;
  18.             box-shadow: 0 0 8px 0 black;
  19.             outline: none;
  20.         }
  21.         .submitbtn:hover{
  22.             box-shadow: none;
  23.            
  24.         }
  25.         .submitbtn:hover i{
  26.             color:orange;
  27.         }
  28.         .submitbtn i{
  29.             padding-right: 15px;
  30.            
  31.         }
  32.  
  33.     </style>
  34. </head>
  35. <body>
  36.  
  37.  <button type="submit" id="btn" class="submitbtn"><i class="fa fa-shopping-cart" aria-hidden="true"></i>Add to Cart</button>
  38.  <script>
  39.     console.log(navigator.onLine);
  40.  </script>
  41.  
  42.  
  43. </body>
  44. </html>
Add Comment
Please, Sign In to add comment