tentative d'affichage de l'icône hamburger
This commit is contained in:
parent
2b55aad567
commit
93c0e27b83
2 changed files with 10 additions and 3 deletions
|
@ -18,12 +18,19 @@
|
|||
cursor: pointer;
|
||||
}
|
||||
|
||||
.headerMenuHamburger{
|
||||
fill: #394596;
|
||||
height: 100px;
|
||||
width: 100px;
|
||||
|
||||
}
|
||||
|
||||
/* Le header s'affiche en menu hamburger pour les breakpoints téléphone et tablette */
|
||||
@media screen and (max-width: 576px) {
|
||||
.headerMenuElement{
|
||||
display: none;
|
||||
}
|
||||
.hamburgerMenuIcon{
|
||||
.headerMenuHamburger{
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
@ -32,7 +39,7 @@
|
|||
.headerMenuElement{
|
||||
display: none;
|
||||
}
|
||||
.hamburgerMenuIcon{
|
||||
.headerMenuHamburger{
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<link rel="stylesheet" href="/public/css/header.css">
|
||||
<div class="header">
|
||||
<ul class="headerMenu">
|
||||
<li class="headerMenuElement"><a href="/"><svg class="headerMenuIcon" src="/public/icones/hamburger-menu.svg"></svg></a></li>
|
||||
<li class="headerMenuElement"><a href="/"><svg class="headerMenuHamburger" src="/public/icones/hamburger-menu.svg"></svg></a></li>
|
||||
<li class="headerMenuElement"><a href="/">index</a></li>
|
||||
<li class="headerMenuElement"><a href="/a-propos">À propos</a></li>
|
||||
<li class="headerMenuElement"><a href="/actualite">Actualité</a></li>
|
||||
|
|
Loading…
Reference in a new issue