Hamburgers by Jonathan Suh
Table of Contents Usage Using Hamburgers for your site is easy (well, that was my intention anyway). Sass .scss source files are available if you use Sass as your CSS precompiler. It’s customizable and modular. Hamburgers is available via npm, yarn and Bower.npm install hamburgers yarn get hamburgers bower install css-hamburgers Also available as a Ruby gem to use within your Rails application—see below for more information. * Be sure to run the CSS through Autoprefixer since the Sass doesn’t account for vendor prefixes. Install for Ruby on Rails Add Hamburgers to your Gemfile.gem 'hamburgers' Run bundle install. ** More information on why Sass’s native @import + why you should ditch Sprockets directives altogether. Customization To override default settings, declare them before importing Hamburgers: $hamburgers-padding-x: 20px;$hamburgers-padding-y: 15px;$hamburger-types : (collapse); @import "hamburgers"; @import "hamburgers-settings"@import "hamburgers"; $hamburger-padding-x : 15px !
• CSS Animations