Created
August 28, 2018 00:19
-
-
Save lucasmazza/6d2086039ed0ef25bd7d94bb37e53dbf to your computer and use it in GitHub Desktop.
Revisions
-
lucasmazza created this gist
Aug 28, 2018 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,21 @@ /** * Slide up menu */ .thing { box-sizing: border-box; position: absolute; bottom: 0; left: calc(50% - 200px); height: 50px; width: 400px; border: 1px solid #000; border-bottom: none; border-radius: 5px 5px 0 0; padding: 20px; transition: height .5s ease-in-out; } .thing.is-expanded { height: 90vh; } This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,3 @@ <div class="thing"> <button onClick="this.parentElement.classList.toggle('is-expanded');">ohai</button> <div> This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@ // alert('Hello world!'); This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@ {"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"}