Skip to content

Commit

Permalink
Update main.css
Browse files Browse the repository at this point in the history
  • Loading branch information
lunekiska authored Feb 18, 2024
1 parent a7f1f4e commit 194efe3
Showing 1 changed file with 6 additions and 22 deletions.
28 changes: 6 additions & 22 deletions css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -110,31 +110,15 @@
}
}

.checkbox {
opacity: 0;
position: absolute;
}

.label {
background-color: #ffffff;
#container2 {
display: flex;
align-items: left;
padding: 5px;
height: 26px;
width: 50px;
transform: scale(1.5);
flex-direction: column;
justify-content: center;
align-items: left;
}

.label .ball {
background-color: #191919;
position: absolute;
height: 22px;
width: 22px;
transition: transform 0.2s linear;
}

.checkbox:checked + .label .ball {
transform: transleteX(24px);
.switch {

}

.fa-moon {
Expand Down

0 comments on commit 194efe3

Please sign in to comment.