Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI : Align buttons properly #10

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
<body>
<div class="container">
<div class="content">
<p>Open Source Coding</p>
<p >Open Source Coding</p>
<p class="title">Digital Clock with Stopwatch and Timer</p>
<p class="type">Clock</p>
</div>

Expand Down Expand Up @@ -115,7 +116,7 @@

<!-- Credits -->
<div class="credits">
<a href="https://github.com/vishal2005025">
<a href="https://github.com/vishal2005025" target="_blank">
Created with ❤️ by
<span>Vishal Malyan</span>
</a>
Expand Down
24 changes: 24 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,11 @@ i {
.btns {
margin-top: 20px;
gap: 10px;
display: flex;
justify-content: center;
}
.btn {
margin-right: 5px;
padding: 10px 20px;
border-radius: 5px;
color: #fff;
Expand All @@ -86,6 +89,27 @@ i {
-webkit-backdrop-filter: blur(1.5px);
border: 1px solid rgba(255, 255, 255, 0.18);
}

.content > .title{
margin-bottom: 25px;
color: #eef1f6;
font-size: 20px;
text-transform: none;
}

.clock > .wrapper{
padding: 30px 20px;
border-radius: 10px;
color: #fff;
border: none;
font-size: 12px;
font-weight: 500;
background: rgba(255, 255, 255, 0.15);
box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
backdrop-filter: blur(1.5px);
-webkit-backdrop-filter: blur(1.5px);
border: 1px solid rgba(255, 255, 255, 0.18);
}
.btn:active {
box-shadow: none;
}
Expand Down