Custom css for navbar

This commit is contained in:
danbulant 2020-02-07 20:07:34 +01:00
parent 0d49b8cd08
commit 1143422f33

View file

@ -1,38 +1,12 @@
.App { .navbar {
text-align: center; position: fixed;
} bottom: 0;
left: 0;
.App-logo { backdrop-filter: blur(5px);
height: 40vmin; background-color: rgba(0,0,0,0.2);
pointer-events: none; z-index: 1000;
}
@media (prefers-reduced-motion: no-preference) { width: 100%;
.App-logo { height: 50px;
animation: App-logo-spin infinite 20s linear; }
}
}
.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;
}
.App-link {
color: #61dafb;
}
@keyframes App-logo-spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}