1xptolevitico69

Css Mute button icon

Jul 16th, 2022 (edited)
835
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.84 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4.   <link rel="shortcut icon" href="https://1xpto.netlify.app/items/favicon.gif" type="image/x-icon">
  5.   <link rel="name" href="https://www.facebook.com/ManuelJSAndrade/">
  6.   <link rel="name" href="https://www.instagram.com/jolie1xpto/">
  7.   <link rel="tag" href="https://1xpto.netlify.app/articles/html/Mute button icon">
  8.   <meta charset="UTF-8">
  9.     <meta http-equiv="X-UA-Compatible" content="IE=edge">
  10.     <meta name="viewport" content="width=device-width, initial-scale=1.0">
  11.   <title>Mute button icon</title>
  12.   <style>
  13.  
  14. #muteButtonIcon {
  15.   width: 100px;
  16.   height: 100px;
  17.   border: 5px solid red;
  18.   border-radius: 50%;
  19.   background-color: transparent;
  20.   transform: scale(3);
  21.   transform-origin: left top;
  22.   margin: 100px 200px;
  23. }
  24. #muteContainer {
  25.   position: relative;
  26.   width: 50px;
  27.   height: 70px;
  28.   display: inline-block;
  29. }
  30. #base1 {
  31.   border: 15px solid red;
  32.   display: inline-block;
  33.   height: 30px;
  34.   border-radius: 30px;
  35.   margin: 5px 0;
  36. }
  37. #base2 {
  38.   border: 5px solid red;
  39.   width: 40px;
  40.   height: 40px;
  41.   display: block;
  42.   border-radius: 50%;
  43.   border-left: 5px solid transparent;
  44.   border-top: 5px solid transparent;
  45.   transform: rotate(45deg);
  46.   margin: -48px 0;
  47. }
  48.  
  49. #base3 {
  50.   border: 5px solid red;
  51.   display: inline-block;
  52.   height: 5px;
  53.   margin: 43px 0;
  54. }
  55. #base4 {
  56.   background-color: red;
  57.   display: block;
  58.   width: 85px;
  59.   height: 5px;
  60.   border-top: 5px solid snow;
  61.   top: 35px;
  62.   left: -15px;
  63.   position: absolute;
  64.   transform: rotate(40deg);
  65. }
  66.  
  67.  
  68.  
  69.  
  70.  
  71. </style>
  72. </head>
  73. <body>
  74.  
  75. <button id='muteButtonIcon'>
  76.   <div id='muteContainer'>
  77.     <center>
  78.       <span id='base1'></span>
  79.       <span id='base2'></span>
  80.       <span id='base3'></span>
  81.       <span id='base4'></span>
  82.     </center>
  83.   </div>
  84. </button>
  85.  
  86.  
  87.   <script></script>
  88. </body>
  89. </html>
  90.  
Add Comment
Please, Sign In to add comment