Skeleton Sass
Skeleton Sass is a Sassification of Dave Gamache's Skeleton CSS responsive front-end framework
Features
- Sassified Skeleton CSS Framework
- Dependence on three files
- Separation of variables, functions, and mixins to keep code DRY
- Choose your favorite syntax
.sassindented-style syntax- Compass optional available, uses
compass/css3library only .scss"sassy css" syntax (with and without Compass)- Compass optional available, uses
compass/css3`library only
How to Use
Using Skeleton Sass is very easy and consists of you running a few terminal commands or by using a GUI-based application.
Skeleton Sass is separated into three different flavors
Applications
- Scout (Free)
- Compass.app (Paid)
- Mixture.io (Paid)
- Kola (Free)
- Prepros (Free; Windows Only)
- CodeKit (Paid; Mac Only)
- LiveReload (Paid; Mac & Windows Alpha Version)
Command Line
- Create a new directory in your web project called
sass - Copy & Paste your desired flavor or Skeleton Sass into the newly created
sassdirectory - Compile files for the first time:
- Open Terminal/Command Prompt with Ruby
cd path/to/my/project/sasssass --update sass:css- Note: if you use the Compass version issue the following:
sass --update --compass sass:css
- Link files in the following order inside your source code:
skeleton.cssbase.csslayout.css
- Add the following to the head section of your HTML document (see code example):
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
Included Files
index.htmlwhich includes a starter page showcasing the various features of the frameworkdemo.htmlwhich outlines the inherited styling that this framework offers. See this file for additional information on its uses.skeleton.scsswhich contains the responsive styles for the framework. You should never edit this file directly unless you know exactly what you're changing! Note: this file DOES contain an editable function that changes the grid. See file for additional information.layout.scssis an optional file where you can add custom styles and extend the framework.- base.scss an optional file which contains all of the default typography styles, page styles, and much more.
_mixins.scssis a private file sass file that is meant to be included but not rendered into its own css file. See this file for the uses._functions.scssis a private file that contains the function that generates the grid for the framework. Feel free to change the grid in skeleton.scss to suit your needs!_vars.scssis a private file the contains all of the global variables that the framework uses. Feel free to change and add your own! See file for additional information.
License
This project is released under the MIT license.
Find a Bug?
- Submit a pull request
- Create a new issue on the Skeleton-Sass page
Changelog
1.6.2
bower.json to exclude demo and development files from being installed with bower1.6.1
one-third and two-thirds selectors in fluid grid12, 20, and fluid CSS files in css directory1.6.0
- Added support for Bourbon
- Revised
_fluidGridmixin to utilize Sass functions - Resolved spelling errors in
numToStringfunction - Revised
_fixedGridmixin - Resolved Issue #11
- Cleaned up fluid grids for tablets by removing redundant code
- Fixed
1.5.0documentation in the README - Finally updated the bower version number so bower users can actually upgrade
- Removed
.sassfiles, usesass-convert -R my_css_dir --from css --to scss
1.5.3
- Added the following HTML5
inputtypes to inherit default styles inbase.cssdatedatetimedatetime-localweeknumbermonthtime
- Updated
test.htmlto accommodate these updated types as well as these input types:color
1.5.2
- Fixed quote issue on
transitionmixin for non-compass version
1.5.1
- Resolved issue #9
1.5.0
- Commit fixes issue #7. You no longer need to manually calculate
$colWidthin thegridmixin! - Resolved spelling error:
.two-third.columnchanged to.two-thirds.column
1.4.2
- Added vanilla CSS component to Skeleton SASS. You can now have CSS right out of the box without having to parse any sass code
- Added additional files and folders to bower ignore
1.4.1
- Added Skeleton Sass to bower! You can now drop Skeleton Sass into your projects using
bower install skeleton-sass
1.4.0
- Moved contents from
_functionsto a new partial called_dependencies - Moved all of the "private" mixins to
_dependenciespartial since these are core mixins and functions - Finally added offset styles to mobile grids -- sorry! I realize that was a major piece that was missing
- Added
mobileGridmixin - Added the following mixins to the non-compass version:
single-transitiontransitionreset-fontreset-focusreset-list-stylereset-tablereset-table-cellreset-quotationreset-image-anchor-borderreset-html5global-resetnested-reset- Non-compass version gradient support is available but these mixins still need multi-stop support
filter-gradient- this is for IE only and works 100%linear-gradient- produces a linear gradient in all directionsradial-gradient- produces a radial gradient- Removed redundant code for
.container .columnsmargins - Fixed offset calculation issue for fluid grid
- Added support for grouped selectors on
mobileGrid
1.3.4
- Added sample outline of a web page to show a more realistic example of how the page will scale
1.3.3
- Fixed duplicate
<div>in the 12-grid and 20-grid demo files. Sorry about that!
1.3.2
- Updated README
- Updated demo to current demo (this time it actually works)
1.3.1
- Removed unnecessary
ifstatement innumToStringfunction
1.3
- Greatly improved
inttostringconversion by using something other than a million if-else statements
1.2.3
- Cleaned up
.sassfiles by using tabs instead of default 2 spaces - Fixed gutter calculation on fixed grid and in the skeleton file
- Used boolean in
_fluidGridto preventsass-convertfrom strippingnullvalue
1.2.2
- Added support for fluid grid generation based on column number
- Cleaned up headers
- Housekeeping in
_mixinsfile - Fixed issue in
.sassfiles.nulltype being stripped when usingsass-convert --from scss --to sass
1.2.1
- Fixed Duplicate
.containeron offsets
1.2
- Addition of fluid grid :)
- Complete restructure of
mixinsfile and grid generation - Changed name of
makeGridmixin togrid - Changed core variable names. See
varsfor more information - Cleaned up headers across the board
- Removed unnecessary and unused functions
- Separated roles in
mixinsfile - Cleaned up comments in all files
- and more...
1.1
- Update to several functions and mixins.
- Addition of new variables
- Several fixes for non-compass version
- Fixing of
.sassfiles