Ajouter responsiveness au header #93
2 changed files with 10 additions and 3 deletions
|
@ -18,12 +18,19 @@
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.headerMenuHamburger{
|
||||||
|
fill: #394596;
|
||||||
|
height: 100px;
|
||||||
|
width: 100px;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
/* Le header s'affiche en menu hamburger pour les breakpoints téléphone et tablette */
|
/* Le header s'affiche en menu hamburger pour les breakpoints téléphone et tablette */
|
||||||
@media screen and (max-width: 576px) {
|
@media screen and (max-width: 576px) {
|
||||||
.headerMenuElement{
|
.headerMenuElement{
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
.hamburgerMenuIcon{
|
.headerMenuHamburger{
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -32,7 +39,7 @@
|
||||||
.headerMenuElement{
|
.headerMenuElement{
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
.hamburgerMenuIcon{
|
.headerMenuHamburger{
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<link rel="stylesheet" href="/public/css/header.css">
|
<link rel="stylesheet" href="/public/css/header.css">
|
||||||
<div class="header">
|
<div class="header">
|
||||||
<ul class="headerMenu">
|
<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="/">index</a></li>
|
||||||
<li class="headerMenuElement"><a href="/a-propos">À propos</a></li>
|
<li class="headerMenuElement"><a href="/a-propos">À propos</a></li>
|
||||||
<li class="headerMenuElement"><a href="/actualite">Actualité</a></li>
|
<li class="headerMenuElement"><a href="/actualite">Actualité</a></li>
|
||||||
|
|
Loading…
Reference in a new issue