Make menu interactive
parent
d55a57d57f
commit
7fcfbb76b0
@ -0,0 +1,4 @@
|
||||
document.getElementById("menu-button").addEventListener("click", function(){
|
||||
this.getElementsByClassName("image")[0].classList.toggle("open");
|
||||
document.getElementById("nav").classList.toggle("visible");
|
||||
});
|
@ -1 +1 @@
|
||||
<svg width="403.143" height="366.667" viewBox="0 0 12.094 11" xmlns="http://www.w3.org/2000/svg"><path d="M2.03 11a.5.5 0 0 1 0-1h8.035a.5.5 0 0 1 0 1zM.5 6a.5.5 0 0 1 0-1h11.094a.5.5 0 0 1 0 1zM2.03 1a.5.5 0 1 1 0-1h8.035a.5.5 0 0 1 0 1z" style="fill:#fff;fill-opacity:1"/></svg>
|
||||
<svg width="403.143" height="366.667" viewBox="0 0 12.094 11" xmlns="http://www.w3.org/2000/svg"><path d="M2.03 11a.5.5 0 0 1 0-1h8.035a.5.5 0 0 1 0 1zM.5 6a.5.5 0 0 1 0-1h11.094a.5.5 0 0 1 0 1zm1.53-5a.5.5 0 1 1 0-1h8.035a.5.5 0 0 1 0 1z" style="fill:#fff;fill-opacity:1"/></svg>
|
Before Width: | Height: | Size: 280 B After Width: | Height: | Size: 280 B |
@ -0,0 +1 @@
|
||||
<svg width="403.143" height="366.667" viewBox="0 0 12.094 11" xmlns="http://www.w3.org/2000/svg"><path style="fill:#fff;fill-opacity:1" d="M2.126 1.069c-.386.002-.716.501-.355.862L5.34 5.5 1.77 9.069c-.471.471.236 1.178.707.707l3.569-3.569 3.569 3.569c.471.471 1.178-.236.707-.707L6.754 5.5l3.569-3.569c.471-.471-.236-1.178-.707-.707L6.047 4.793 2.478 1.224a.488.488 0 0 0-.352-.155z"/></svg>
|
After Width: | Height: | Size: 392 B |
Loading…
Reference in New Issue