Advertisement
Bubbs

timer.html

Dec 2nd, 2018
304
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 2.34 KB | None | 0 0
  1. <html lang="en">
  2. <head>
  3.     <meta charset="UTF-8">
  4.     <meta name="viewport" content="width=device-width, initial-scale=1.0">
  5.     <meta http-equiv="X-UA-Compatible" content="ie=edge">
  6.     <title>CLOCK</title>
  7.     <style>
  8.  
  9.     body{
  10.         background-color: skyblue;
  11.     }
  12.  
  13.  
  14.     #clock{
  15.         width:300;
  16.         height:200;
  17.         background-color:steelblue;
  18.         border-color: black;
  19.         border-style: solid;
  20.         text-align: center;
  21.         display: inline-block;
  22.         position: relative;
  23.         border-radius: 10px;
  24.         -webkit-user-select: none;
  25.         -moz-user-select: none;
  26.         -ms-user-select: none;    
  27.         -o-user-select: none;
  28.         user-select: none;
  29.     }
  30.  
  31.     h1{
  32.         font-family: consolas;
  33.         font-size: 400%;
  34.         -webkit-user-select: none;
  35.         -moz-user-select: none;
  36.         -ms-user-select: none;    
  37.         -o-user-select: none;
  38.         user-select: none;
  39.     }
  40.  
  41.     .button{
  42.         -webkit-user-select: none;
  43.         -moz-user-select: none;
  44.         -ms-user-select: none;    
  45.         -o-user-select: none;
  46.         user-select: none;
  47.         display: inline-block;
  48.         padding: 5px 10px;
  49.         font-family: consolas;
  50.         font-size: 24px;
  51.         cursor: pointer;
  52.         text-align: center;
  53.         text-decoration: none;
  54.         outline: none;
  55.         color: #fff;
  56.         background-color: rgb(125, 80, 177);
  57.         border: none;
  58.         border-radius: 15px;
  59.         box-shadow: 0 7px rgb(109, 108, 108);
  60.     }
  61.  
  62.     .button:hover {background-color: rgb(102, 36, 177)}
  63.  
  64.     .button:active {
  65.     background-color: rgb(102, 36, 177);
  66.     box-shadow: 0 3px #666;
  67.     transform: translateY(4px);
  68.     }
  69.  
  70.     #start{
  71.         position: absolute;
  72.         bottom: 20;
  73.         left:50;
  74.     }
  75.  
  76.     #plus{
  77.         position: absolute;
  78.         bottom: 20;
  79.         left:150;
  80.     }
  81.  
  82.     #minus{
  83.         position: absolute;
  84.         bottom: 20;
  85.         left:200;
  86.     }
  87.  
  88.     </style>
  89. </head>
  90. <body>
  91.  
  92.  
  93.     <center>
  94.     <div id="clock">
  95.         <h1 id="time"></h1>
  96.         <div class="button" id="start" onclick="start()">start</div>
  97.         <div class="button" id="plus" onclick="add()">+</div>
  98.         <div class="button" id="minus">-</div>
  99.     </div>
  100.     </center>
  101.     <script src="clock.js"></script>
  102.    
  103. </body>
  104. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement