Skip to content

Commit

Permalink
Merge pull request #12 from rivercory/main
Browse files Browse the repository at this point in the history
Edit progress style
  • Loading branch information
DhanushNehru authored Sep 28, 2024
2 parents 3f8806f + 83f0435 commit 424f74d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,16 @@
display: inline-block; /* Aligns the button to the left */
}

img {
#progress-img {
display: block; /* Centers the image */
margin: 10px auto; /* Adds margin around the image for spacing */
border-radius: 1rem;
}
</style>
</head>
<body>
<h1>Year Progress</h1>
<img id="progress-img" src="https://year-in-progress.vercel.app/year-progress" alt="Year Progress" style="width: 300px; height: 50px;">
<img id="progress-img" src="https://year-in-progress.vercel.app/year-progress" alt="Year Progress" style="width: 450px; height: 75px;">

<!-- Button positioned directly below the progress bar and aligned to the left -->
<button id="theme-toggle">Switch to Dark Mode</button>
Expand Down

0 comments on commit 424f74d

Please sign in to comment.