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