seed-visibility
Visibility utility pack for Seed!
Install
npm install seed-visibility --save
Documentation
Check out our styleguide for documentation of this pack.
display
Visibility handling with For the display: none
/ display: block
based visibility techniques, check out seed-display
.
Basic Usage
CSS
Add the seed-visibility.css or seed-visibility.min.css to your project, and import it like so:
SCSS
This seed pack needs to be imported into your sass pipeline. Below is an example using Gulp:
var gulp = ;var sass = ;var seedTypography = ; gulp;
Once that is setup, simply @import
seed-visibility as needed in your .scss
file:
// Packs ;
Note: Because seed-visibility has dependencies, its includePaths output will be an array
. If you're including other paths in addition to seed-visibility, you will need to flatten the array. An easy way to do this is to use sass-pathfinder.
Example with sass-pathfinder:
var gulp = ;var sass = ;var seedTypography = ;var pathfinder = ; gulp;
Options
The following variables can be found in _config.scss
;;;