Hamburger align test
This commit is contained in:
parent
87569a1395
commit
4635a88742
@ -13,8 +13,10 @@
|
|||||||
<body>
|
<body>
|
||||||
<header>
|
<header>
|
||||||
<nav>
|
<nav>
|
||||||
|
<div id="hamburger">
|
||||||
<a href="javascript:void(0);" onclick="mobilemenu()" class="mobile-menu-open">☰︎</a>
|
<a href="javascript:void(0);" onclick="mobilemenu()" class="mobile-menu-open">☰︎</a>
|
||||||
<a href="javascript:void(0);" onclick="mobilemenu()" class="mobile-menu-close">╳︎</a>
|
<a href="javascript:void(0);" onclick="mobilemenu()" class="mobile-menu-close">╳︎</a>
|
||||||
|
</div>
|
||||||
<ul>
|
<ul>
|
||||||
<li class="title selected"><a href="index.html">Ginou</a></li>
|
<li class="title selected"><a href="index.html">Ginou</a></li>
|
||||||
<li><a href="biographie.html">Biographie</a></li>
|
<li><a href="biographie.html">Biographie</a></li>
|
||||||
|
@ -82,29 +82,42 @@ header nav .mobile-menu-close {
|
|||||||
margin-bottom: 0.5rem;
|
margin-bottom: 0.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
header nav .mobile-menu-open {
|
header nav #hamburger {
|
||||||
display:block;
|
display:block;
|
||||||
position:absolute;
|
|
||||||
right:1rem;
|
right:1rem;
|
||||||
font-size:1.5rem;
|
font-size:1.5rem;
|
||||||
cursor:pointer;
|
position:absolute;
|
||||||
}
|
}
|
||||||
|
|
||||||
header nav.active .mobile-menu-open {
|
header nav #hamburger .mobile-menu-open {
|
||||||
|
display:block;
|
||||||
|
}
|
||||||
|
|
||||||
|
header nav.active #hamburger .mobile-menu-open {
|
||||||
display:none;
|
display:none;
|
||||||
}
|
}
|
||||||
|
|
||||||
header nav.active .mobile-menu-close {
|
header nav.active #hamburger .mobile-menu-close {
|
||||||
|
display:block;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*header nav .mobile-menu-open {
|
||||||
display:block;
|
display:block;
|
||||||
position:absolute;
|
position:absolute;
|
||||||
right:1rem;
|
right:1rem;
|
||||||
font-size:1.5rem;
|
font-size:1.5rem;
|
||||||
cursor:pointer;
|
cursor:pointer;
|
||||||
}
|
line-height:2rem;
|
||||||
|
}*/
|
||||||
header nav.active .mobile-menu-close span {
|
|
||||||
}
|
|
||||||
|
|
||||||
|
/*header nav.active .mobile-menu-close {
|
||||||
|
display:block;
|
||||||
|
position:absolute;
|
||||||
|
right:1rem;
|
||||||
|
font-size:1.5rem;
|
||||||
|
cursor:pointer;
|
||||||
|
line-height:2.5rem;
|
||||||
|
}*/
|
||||||
|
|
||||||
header nav ul li {
|
header nav ul li {
|
||||||
display:none;
|
display:none;
|
||||||
|
Loading…
Reference in New Issue
Block a user