Image parallax on recipes

This commit is contained in:
2023-06-25 12:15:20 +02:00
parent 6be720d5e6
commit 5d2304e159
4 changed files with 139 additions and 41 deletions

View File

@@ -15,12 +15,15 @@ li{
list-style-type:none;
transition: 100ms;
color: white;
user-select: none;
}
li>a{
text-decoration: none;
font-family: sans-serif;
font-size: 1.2rem;
color: inherit
color: inherit;
border-radius: 1000px;
padding: 0.5rem 1rem;
}
li:hover,
@@ -31,7 +34,7 @@ li:focus-within
transform: scale(1.1,1.1);
}
ul {
padding-block: 2rem;
padding-block: 1.5rem;
display: flex;
flex-direction: row;
gap: 1rem;
@@ -51,7 +54,10 @@ ul {
}
nav{
position: sticky;
background-color: var(--nord0);
top: 0;
z-index: 10;
}
.wrapper{
display:flex;