#wcpvd More Fun Facts Going to be on a pirate ship later WHAT Cats cats cats cats No longer have a beard :( I love GIFs No memes in this talk at all @BradParbs brad.parbs.me #wcbalt
What is SASS? “Sass is a meta-language on top of CSS ... with more power than flat CSS allows. Sass both provides a simpler, more elegant syntax for CSS and implements various features that are useful for creating manageable stylesheets.” sass-lang.org #wcbalt
Let’s install Twitter Bootstrap Without SASS: 1.Download zip file. 2. Copy+Paste into stylesheet or: @import another CSS file or: another CSS file 3.Redo all of this when there’s an update. 4.Ugh this sucks, I’ll just use BootstrapWP. #wcgr #wcbalt
Let’s install Twitter Bootstrap With SASS: 1.$ gem install compass-bootstrap (only have to ever do this once) 2. Add require “compass- bootstrap” to config.rb. #wcgr #wcbalt
Building a WP Theme • We want only one stylesheet • Our SASS folder should live independently • config.rb in the root, so we can use Codekit to optimize images & JS https://github.com/bradp/Wolf #wcgr #wcbalt