div for the darkmode button

This commit is contained in:
Sevi 2024-10-31 11:16:53 -07:00 committed by GitHub
parent 7f9cd8d864
commit 6abe7dac9a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 1 deletions

View File

@ -33,6 +33,11 @@ main {
flex: 1;
padding: 20px;
}
.darkmodediv {
padding-left: 480px;
padding-right: 480px;
background-color: #8d8d8d;
}
.counter, .info, .clients, .danger-zone {
margin-bottom: 20px;

View File

@ -21,7 +21,7 @@
</header>
<main>
<section class="darkmode">
<div>
<div calss="darkmodediv">
<label for="darkModeCheckbox">Dark Mode</label>
<input type="checkbox" id="darkModeCheckbox">
</div>