Add typescript CSS module for type safe and autocomplete CSS

This commit is contained in:
Guntis Smaukstelis
2024-02-12 15:38:11 +02:00
parent 19c3e45122
commit b49bd50dfd
7 changed files with 1250 additions and 92 deletions
-53
View File
@@ -1,53 +0,0 @@
.App {
text-align: center;
}
.logo {
animation: logo-spin infinite 20s linear;
height: 40vmin;
pointer-events: none;
}
.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;
}
.link {
color: #b318f0;
}
.menu {
padding: 8px 20px;
text-align: right;
}
.menu li{
display: inline;
padding: 10px 0 10px 10px;
cursor: pointer;
}
.menu li:not(:first-child)::before {
content: '•';
margin-right: 1ch;
}
.active {
font-weight: bold;
}
@keyframes logo-spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
+19
View File
@@ -0,0 +1,19 @@
.menu {
padding: 8px 20px;
text-align: right;
}
.menu li{
display: inline;
padding: 10px 0 10px 10px;
cursor: pointer;
}
.menu li:not(:first-child)::before {
content: '•';
margin-right: 1ch;
}
.active {
font-weight: bold;
}