Created
April 15, 2018 22:01
-
-
Save emmasamuel/0757356d50165907b75bccd3464594af to your computer and use it in GitHub Desktop.
DIGITAL CLOCK MAKING // source https://jsbin.com/zizefih
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <link rel="stylesheet" type="text/css" href="style.css"> | |
| <title> DIGITAL CLOCK MAKING</title> | |
| <style id="jsbin-css"> | |
| body { | |
| width: auto; | |
| height: 1200px; | |
| background-image: url("https://s5.postimg.org/433csq3hj/Google_Pixel-_Front-_Hand.jpg"); | |
| background-size:cover; | |
| background-repeat: no-repeat; | |
| } | |
| .wow { | |
| width: 200px; | |
| height: 50px; | |
| color: white; | |
| margin-left: 820px; | |
| padding-top: 400px; | |
| } | |
| *{ | |
| margin:0; | |
| padding:0; | |
| font-family:sans-serif; | |
| font-size:66px; | |
| } | |
| .clock{ | |
| text-align:center; | |
| width:auto; | |
| height:auto; | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <?php echo date('Y-m-d H:i:s')?> | |
| <div class="wow"> | |
| <div class="clock"> | |
| <span id="hr">00</span> | |
| <span> : </span> | |
| <span id="min">00</span> | |
| <span> : </span> | |
| <span id="sec">00</span> | |
| </div> | |
| </div> | |
| <script id="jsbin-source-html" type="text/html"> | |
| <html> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <link rel="stylesheet" type="text/css" href="style.css"> | |
| <title> DIGITAL CLOCK MAKING</title> | |
| </head> | |
| <body> | |
| <?php echo date('Y-m-d H:i:s')?> | |
| <div class="wow"> | |
| <div class="clock"> | |
| <span id="hr">00</span> | |
| <span> : </span> | |
| <span id="min">00</span> | |
| <span> : </span> | |
| <span id="sec">00</span> | |
| </div> | |
| </div> | |
| </body> | |
| </html> | |
| </script> | |
| <script id="jsbin-source-css" type="text/css">body { | |
| width: auto; | |
| height: 1200px; | |
| background-image: url("https://s5.postimg.org/433csq3hj/Google_Pixel-_Front-_Hand.jpg"); | |
| background-size:cover; | |
| background-repeat: no-repeat; | |
| } | |
| .wow { | |
| width: 200px; | |
| height: 50px; | |
| color: white; | |
| margin-left: 820px; | |
| padding-top: 400px; | |
| } | |
| *{ | |
| margin:0; | |
| padding:0; | |
| font-family:sans-serif; | |
| font-size:66px; | |
| } | |
| .clock{ | |
| text-align:center; | |
| width:auto; | |
| height:auto; | |
| } | |
| </script> | |
| </body> | |
| </html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| body { | |
| width: auto; | |
| height: 1200px; | |
| background-image: url("https://s5.postimg.org/433csq3hj/Google_Pixel-_Front-_Hand.jpg"); | |
| background-size:cover; | |
| background-repeat: no-repeat; | |
| } | |
| .wow { | |
| width: 200px; | |
| height: 50px; | |
| color: white; | |
| margin-left: 820px; | |
| padding-top: 400px; | |
| } | |
| *{ | |
| margin:0; | |
| padding:0; | |
| font-family:sans-serif; | |
| font-size:66px; | |
| } | |
| .clock{ | |
| text-align:center; | |
| width:auto; | |
| height:auto; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment