Skip to content

Commit

Permalink
Create digitalclock.css
Browse files Browse the repository at this point in the history
  • Loading branch information
dhairyagothi authored Feb 22, 2024
1 parent 4484d6d commit 57639a1
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions digital_clock/digitalclock.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
body{
background-color: black;
color: green;
}
#clock{ border: 5px double green;
width: 30%;
margin: auto;
justify-content: center;
position: relative;


}
#date{
border: 5px double green;
width: 30%;
margin: auto;
justify-content: center;
position: relative;

}

@media (min-width: 0px ) and (max-width: 1439px) {
#clock{
font-size: 60px;
width: auto;
}
#date{
font-size: 60px;
width: auto;
}
}

0 comments on commit 57639a1

Please sign in to comment.