Adding sassy modular-scale into sass
Sassy Modular Scale is a Sass based mixin that calculates the incremental values of the modular scale in proportion to a set size and ratio. These making useful for counting width or size of your html elements. In a short word, it make your sass code faster.
To add modular scale, you need to write these into your terminal (ruby gem already installed first).
gem install modular-scale
next is adding at your config file.
require 'modular-scale'
and finally adding import at scss file.
@import "modular-scale"
And I suggest if you use Scout, Livereload, Codekit and other things that auto compile sass, you must ran install first then you could start the scout..
Good Luck :D
Written by Fendy Kusuma Wardhana
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Sass
Authors
Related Tags
#sass
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#