Skeleton SASS is a "SASSification" of Dave Gamache's Skeleton CSS responsive front-end framework.
.scss
and.sass
syntaxes availablecompass
versions available- Ability to seamlessly adjust grids
- Fixed Grid (default)
- Fluid Grid
- Adjust columns and gutters
- Install Skeleton SASS with bower!
bower install skeleton-sass
- Live demo!
- Extensive documentation
Skeleton SASS is a SASS port of Skeleton CSS. Skeleton SASS is primarily written and debugged using the newer "SassyCSS" syntax of SASS which is seen via the .scss
file extension. If you are familiar and/or prefer the older HAML-style syntax then fret not, we offer this syntax as well which is seen via the .sass
file extension.
If you are new to SASS altogether then please read our wiki for a more in-depth look at Skeleton SASS, information regarding installing ruby and SASS, and many other valuable resources!
If you have used Skeleton CSS and you are tired of dealing with vanilla CSS, then transitioning to Skeleton SASS will require minimal effort. Since Skeleton SASS is built to duplicate the file hierarchy of Skeleton CSS. This allows the transition to be smooth and painless.
If you have tried other SASS ports of Skeleton CSS you've probably seen a ports that are built inefficiently, inaccurately, and perhaps even downright poorly. Skeleton SASS will be the last time you search for a SASS port of Skeleton CSS. With only three additional files to satisfy dependencies, this will allow you to easily transition into using Skeleton SASS. Continue reading about each of the files that are used by Skeleton SASS.
- Duplicates the exact file hierarchy, file structure, and file names as Skeleton CSS
- Separation of variables, functions, and mixins to keep code clean and DRY
- Compass and Non-Compass versions available
.sass
and.scss
versions available- Install Skeleton SASS with bower front-end package manager
Skeleton SASS is organized into two major categories:
- Compass Version
- Non-Compass Version
Both of these versions are organized the same exact way to ensure maximum usability:
bourbon
core
- Bourbon source files
_loader.scss
_dependencies.scss
_mixins.scss
_functions.scss
_vars.scss
base.scss
layout.scss
skeleton.scss
compass
(Compass Version)sass
_dependencies.sass
_mixins.sass
_functions.sass
_vars.sass
base.sass
layout.sass
skeleton.sass
scss
_dependencies.scss
_mixins.scss
_functions.scss
_vars.scss
base.scss
layout.scss
skeleton.scss
sass
(Non-Compass Version)sass
is the same as abovescss
is the same as above
skeleton
contains the core of the framework. This file contains the responsive goodness among other structural styles and is required for the framework to be used.layout
is an optional file where you can add custom styles that may extend the framework and/or custom styles for your website. You may discard this file if you wish.base
is an optional file which contains the default styles for the framework. You may discard this file if you wish._mixins
is a partial file that contains all of the high-level core mixins used in the framework which means this file is required. Additionally, you may add your own custom mixins at the top of this file as well as edit existing mixins to suit your needs. See this file for additional information._dependencies
is a partial file that contains core functions and "private" mixins that aren't meant to be used directly. Avoid editing this file directly unless you know what you're doing! The framework will not work if you delete this file._vars
is a partial file which is required because it contains all of the global variables for the framework. See file for additional information._functions
is a partial file where you may add custom functions. This file is not required by any means and may be discarded if you wish.
Bower is a package manager for the web. It offers a generic, unopinionated solution to the problem of front-end package management, while exposing the package dependency model via an API that can be consumed by a more opinionated build stack. There are no system wide dependencies, no dependencies are shared between different apps, and the dependency tree is flat — bower.io
For more info on bower, checkout bower.io.
Skeleton Sass is now available on Bower because we want to make your life easier. You can now add Skeleton Sass to any project easily by issuing bower install skeleton-sass
.
Live demo can be seen here: http://atomicpages.github.io/skeleton-sass. Be sure to resize your browser window and see the responsive goodness in action!
Want to see spin on the default 16-column fixed-grid system? See the demo here!
Skeleton SASS is heavily documented! If you're looking for a detailed description (or just want more info) you can checkout the wiki pages!
This project is released under the MIT license. Who doesn't like free code?
Skeleton SASS is community driven. We will gladly review any issues that you find. If you wish to contribute you'll land a spot in the contributions section of this document!
- Fixed missing
one-third
andtwo-thirds
selectors in fluid grid - Updated
12
,20
, andfluid
CSS files incss
directory
- Added support for Bourbon
- Revised
_fluidGrid
mixin to utilize Sass functions - Resolved spelling errors in
numToString
function - Revised
_fixedGrid
mixin - Resolved Issue #11
- Cleaned up fluid grids for tablets by removing redundant code
- Fixed
1.5.0
documentation in the README - Finally updated the bower version number so bower users can actually upgrade
- Removed
.sass
files, usesass-convert -R my_css_dir --from css --to scss
- Added the following HTML5
input
types to inherit default styles inbase.css
date
datetime
datetime-local
week
number
month
time
- Updated
test.html
to accommodate these updated types as well as these input types:color
- Fixed quote issue on
transitionn
mixin for non-compass version
- Resolved issue #9
- Commit fixes issue #7. You no longer need to manually calculate $colWidth in the
grid
mixin! - Resolved spelling error:
.two-third.column
changed to.two-thirds.column
- Added vanilla CSS component to Skeleton SASS. You can now have CSS right out of the box without having to compile any sass code!
- Added additional files and folders for bower to ignore
- Added Skeleton SASS to bower! You can now drop Skeleton SASS into your projects using
bower install skeleton-sass
- Moved contents from
_functions
to a new partial called_dependencies
- Moved all of the "private" mixins to
_dependencies
partial since these are core mixins and functions - Finally added offset styles to mobile grids – I realize that was a major piece that was missing
- Added
mobileGrid
mixin - Added the following mixins to the non-compass version:
single-transition
transition
reset-font
reset-focus
reset-list-style
reset-table
reset-table-cell
reset-quotation
reset-image-anchor-border
reset-html5
global-reset
nested-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 .columns
margins - Fixed offset calculation issue for fluid grid
- Added support for grouped selectors on
mobileGrid
- Added sample outline of a web page to show a more realistic example of how the page will scale
- Oops! The demo has now been fixed!
- Updated README file and fixed demo files so it actually works this time ;)
- Removed unnecessary if statement at the top of the
numToString
function
- Greatly improved
int
tostring
conversion by using something other than a million if-else statements
- Cleaned up
.sass
files by using tabs instead of default 2 spaces - Fixed gutter calculation on fixed grid and in the skeleton file
- Used boolean in
_fluidGrid
to preventsass-convert
from strippingnull
value
- Added support for fluid grid generation based on column number
- Cleaned up headers
- Housekeeping in
_mixins
file - Fixed issue in
.sass
files.null
type being stripped when usingsass-convert --from scss --to sass
- Fixed Duplicate
.container
on offsets
- Addition of fluid grid :)
- Complete restructure of
mixins
file and grid generation - Changed name of
makeGrid
mixin togrid
- Changed core variable names. See
vars
for more information - Cleaned up headers across the board
- Removed unnecessary and unused functions
- Separated roles in
mixins
file - Cleaned up comments in all files
- and more...
- Update to several functions and mixins.
- Addition of new variables
- Several fixes for non-compass version
- Fixing of
.sass
files