Using the page navigation component from Refills
Bourbon Refills are the components and patterns built with Bourbon and Neat. You can use these components and patterns by simply copying and pasting them from the Refills website into your Sass code.
Getting ready
Install Ruby Sass as described in Chapter 1, Getting Started with Sass, of this book. Then install Bourbon and Neat by running the following commands in your console:
gem install bourbon gem install neat
Note that Chapter 1, Getting started with Sass, of this book also describes how to install Ruby and Ruby gems.
How to do it...
Most websites require a page navigation. The following steps will show you how to build a page navigation with ease by using the pattern from the Refills website:
- Create the file and directory structure as shown in the following diagram:
- Navigate to the
sass
directory and run the following commands to copy the Bourbon and Neat files into your stylesheets directory:bourbon install neat install
- Now, edit the
sass...