header dropdown not finnish

This commit is contained in:
2021-11-19 16:22:08 +01:00
parent 19e87e361a
commit a7718ef9be
8 changed files with 90 additions and 26 deletions
@@ -20,7 +20,6 @@
height: 5rem;
width: auto;
}
}
@@ -62,9 +61,5 @@
-webkit-filter: grayscale(100%);
}
}
// .twitter::before {
// font-family: "Font Awesome 5 Brands"; content: "\f099";
// }
}
@@ -9,7 +9,7 @@ display: block;
}
#header-top {
height: 7rem;
height: fit-content;
background-color: $white;
box-shadow: 1px 0px 8px $black;
display: flex;
@@ -28,10 +28,12 @@ display: block;
font-weight: 800;
ul{
list-style: none;
display: flex;
flex-direction: row;
li {
// background-color: red;
padding-right: 1rem;
a {
color: $black;
@@ -42,16 +44,32 @@ display: block;
}
.ul2{
flex-direction: column;
display: none;
}
:hover{
color: $blue-light;
}
}
:hover{
color: $blue-light;
li:not(ul):not(.ul2){
display: block;
position: relative;
}
:hover {
.ul2{
display: block;
position: relative;
transition: ease-in-out 2s;
}
}
}
li ul {
li .ul1 {
display: flex;
flex-direction: column;
}
@@ -62,7 +80,7 @@ display: block;
color: $white;
display: block;
width: 7rem;
height: 7rem;
height: 100%;
margin-top: 0;
:hover{
cursor: pointer;