Animated burger/menu icon on hover and on click with CSS3
A Pen by Sam Renault on CodePen.
<!-- HTML5 Doctype. Remember to delete these comments (Quirks Mode). --> | |
<!doctype html> | |
<!-- Modernizr HTML tags with IE classes. --> | |
<!--[if lt IE 7]> <html lang="" class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--> | |
<!--[if IE 7]> <html lang="" class="no-js lt-ie9 lt-ie8"> <![endif]--> | |
<!--[if IE 8]> <html lang="" class="no-js lt-ie9"> <![endif]--> | |
<!--[if gt IE 8]><!--> <html lang="" class="no-js"> <!--<![endif]--> | |
<!-- Let's get started. --> |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
transition: all 0.4s cubic-bezier(0, 1.4, 1, 1.4); |
font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; | |
font-weight: 300; |
// Source : http://bit.ly/124AZEH | |
----- | |
// Vendor | |
@import "susy"; | |
@import "modular-scale"; | |
@import "vendor/animate"; | |
// Mixins |
Settings an executable sh file : | |
- Last line of .sh file : | |
#!/bin/sh | |
- in terminal, set the file executable | |
chmod +x name.sh | |
- then to open it : | |
./script.sh |