react-ts-vite-template/src/App.css

48 lines
641 B
CSS
Raw Normal View History

2021-10-29 19:43:00 +08:00
.app {
text-align: center;
}
2021-10-29 19:43:00 +08:00
.app-logo {
height: 40vmin;
pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
2021-10-29 19:43:00 +08:00
.app-logo {
animation: app-logo-spin infinite 20s linear;
}
}
2021-10-29 19:43:00 +08:00
.app-header {
background-color: #282c34;
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
font-size: calc(10px + 2vmin);
color: white;
}
2021-10-29 19:43:00 +08:00
.app-link {
color: #61dafb;
}
2021-10-29 19:43:00 +08:00
@keyframes app-logo-spin {
from {
transform: rotate(0deg);
}
2021-10-29 19:43:00 +08:00
to {
transform: rotate(360deg);
}
}
button {
font-size: calc(10px + 2vmin);
}
2021-10-29 19:43:00 +08:00
.callout {
color: yellow;
}