Join Carrie Dils for an in-depth discussion in this video Modularizing your Sass with partials, part of Responsive CSS Workflow with Sass, Bourbon, and Susy.
- [Instructor] We've already discussed that part of…the beauty of working with Sass is that…you can organize your code into separate files…and compile it into a single CSS file.…Before Sass came along, if you wanted to…organize your CSS like this in multiple files,…you'd take a performance hit because…each time one of those CSS files…was loaded in the browser,…it would be an extra trip to the server.…So when we talk about this concept of splitting…the Sass files up into different files,…these are called partials.…
The naming structure for Sass partials…is _filename and then .scss,…since we're working with that .scss syntax.…Let's head back to our project…and go to our assets.scss folder…and I like to create a new folder…specifically for my partials.…So I'm going to go ahead and name that Partials.…There, we can see that there.…And now that I have this Partials folder,…I want to create the individual partials…that I'll be using for this course.…
I'll start with a base.scss…where I'll just put some common styles…and again that naming convention _filename…
- Reviewing what Sass is and how it works
- Analyzing workflow options
- Setting up a folder structure
- Adding version control
- Working with package managers
- Setting up a workflow with Grunt
- Scaffolding HTML
- Modularizing a Sass with partials
- Creating a color palette with variables
- Using Font Awesome
- Creating a mobile-first layout
Skill Level Intermediate
Building a Responsive Single-Page Design with Sasswith Ray Villalobos4h 55m Intermediate
CSS to Sass: Converting an Existing Sitewith John Riviello2h 31m Intermediate
1. Getting Started
2. Working with Package Managers
3. Setting Up a Workflow with Grunt.js
4. Scaffolding Your HTML
5. Sass Principles
6. Styling with Sass and Bourbon
7. Responsive Layout Grids with Susy
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.