Skip to content

chapeljuice/retro-clock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

retro-clock

The goal was to make a working old-school digital clock.

Link to GitHub Page here: https://chapeljuice.github.io/retro-clock/

Link to CodePen here: https://codepen.io/ryan-chapel/pen/xxZKJve

Retro Clock

I approached it a bit differently in that it's NOT USING ANY TEXT OR FONTS. I created the elements using spans containing empty divs and borders. The rest is just CSS and JS.

<div class="clock">

  <span class="number first">
    <div class="top"><!></div>
    <div class="bottom"><!></div>
  </span>

  <span class="number second">
    <div class="top"><!></div>
    <div class="bottom"><!></div>
  </span>

  <span class="colon">
    <div><!></div>
    <div><!></div>
  </span>

  <span class="number third">
    <div class="top"><!></div>
    <div class="bottom"><!></div>
  </span>

  <span class="number fourth">
    <div class="top"><!></div>
    <div class="bottom"><!></div>
  </span>

</div>

About

A working old-school digital clock made creatively WITHOUT any text / fonts.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published