Skip to content

Commit

Permalink
css done
Browse files Browse the repository at this point in the history
  • Loading branch information
dipak-kumawat committed Feb 4, 2024
1 parent f46ec15 commit 953b1cc
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 1 deletion.
2 changes: 2 additions & 0 deletions 10. Stopwatch/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
<h1>00:00:00</h1>
<div class="button">
<img src="./images/stop.png" alt="">
<img src="./images/start.png" alt="">
<img src="./images/reset.png" alt="">
</div>
</div>

Expand Down
36 changes: 35 additions & 1 deletion 10. Stopwatch/style.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,38 @@
body{
background: #edeaff;

font-family: 'Courier Prime', monospace;
}

.stopwatch{
width: 90%;
max-width: 600px;
background-image: linear-gradient(rgba(0,0,0,0.8),rgba(0,0,0,0.5),url(images/background.png));
text-align: center;
padding: 40px 0;
color: white;
margin: 200px;
box-shadow: 0 10px 10px rgba(0, 0, 0, 0.2);

}

.stopwatch h1{
margin-top: 60px;
font-size: 64px;
font-weight: 300;
}

.buttons{
display: flex;
align-items: center;
justify-content: center;
}

.buttons img{
width: 50px;
margin: 0 20px;
cursor: pointer;
}

.buttons img:nth-child(2){
width: 80px;
}

0 comments on commit 953b1cc

Please sign in to comment.