public
Last active

Using SASS @extends with bootstrap-sass

  • Download Gist
gistfile1.scss
SCSS
1 2 3 4 5 6 7 8 9 10 11
/* SASS flavored version of this: http://blog.crowdint.com/2012/02/03/bootstrap-in-the-asset-pipeline.html */
 
/* using this gem: https://github.com/thomas-mcdonald/bootstrap-sass */
 
@import "bootstrap";
 
table {
@extend .table;
@extend .table-bordered;
@extend .table-striped;
}

Thank you for this.

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.