@h0rn0chse/dark-mode-toggle
Version:
dark-mode-toggle
17 lines (15 loc) • 409 B
CSS
.toggleContainer {
margin: 0.5em;
cursor: pointer;
/* The animation button occupys a larger square
You can get the button size by looking at the size
of the inner svg elements via the debugger */
/* width: 192px;
height: 90px; */
overflow: hidden;
/* center content */
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}