Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta http-equiv="X-UA-Compatible" content="ie=edge">
- <title>CLOCK</title>
- <style>
- body{
- background-color: skyblue;
- }
- #clock{
- width:300;
- height:200;
- background-color:steelblue;
- border-color: black;
- border-style: solid;
- text-align: center;
- display: inline-block;
- position: relative;
- border-radius: 10px;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- -o-user-select: none;
- user-select: none;
- }
- h1{
- font-family: consolas;
- font-size: 400%;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- -o-user-select: none;
- user-select: none;
- }
- .button{
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- -o-user-select: none;
- user-select: none;
- display: inline-block;
- padding: 5px 10px;
- font-family: consolas;
- font-size: 24px;
- cursor: pointer;
- text-align: center;
- text-decoration: none;
- outline: none;
- color: #fff;
- background-color: rgb(125, 80, 177);
- border: none;
- border-radius: 15px;
- box-shadow: 0 7px rgb(109, 108, 108);
- }
- .button:hover {background-color: rgb(102, 36, 177)}
- .button:active {
- background-color: rgb(102, 36, 177);
- box-shadow: 0 3px #666;
- transform: translateY(4px);
- }
- #start{
- position: absolute;
- bottom: 20;
- left:50;
- }
- #plus{
- position: absolute;
- bottom: 20;
- left:150;
- }
- #minus{
- position: absolute;
- bottom: 20;
- left:200;
- }
- </style>
- </head>
- <body>
- <center>
- <div id="clock">
- <h1 id="time"></h1>
- <div class="button" id="start" onclick="start()">start</div>
- <div class="button" id="plus" onclick="add()">+</div>
- <div class="button" id="minus">-</div>
- </div>
- </center>
- <script src="clock.js"></script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement