You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
456 B
CSS
33 lines
456 B
CSS
svg {
|
|
width: 500px;
|
|
height: 500px;
|
|
background-color: white;
|
|
}
|
|
#svg-container {
|
|
position: absolute;
|
|
left: 50%;
|
|
top: 50%;
|
|
transform: translate(-50%, -50%);
|
|
}
|
|
|
|
#previous {
|
|
position: absolute;
|
|
top: 0;
|
|
transform: translateX(-100%);
|
|
}
|
|
|
|
#previous svg {
|
|
background: none;
|
|
border: none;
|
|
}
|
|
|
|
#previous::after {
|
|
content: "";
|
|
width: 100%;
|
|
height: 100%;
|
|
left: 0;
|
|
position: absolute;
|
|
transform: translateX(-25%);
|
|
background-color: var(--background);
|
|
}
|