SlideShare a Scribd company logo
CSS to SCSS
Making the Switch
Rob Walker
CTO of Papertrail.io
Made the switch in
September 2013, and have
never looked back
rob@papertrail.io
@_rob_walker_
Coming up
• Why you should use SCSS
• Working with SCSS
• Making the switch
• Next steps
• Questions
Resources
• Examples from this talk at - 

https://github.com/papertrailrob/frontendne-scss
• http://sass-lang.com
Why should you use SCSS
• Easy to learn, and you can start today
• Makes CSS more powerful
• Will make your life easier
Working with SCSS
• Nesting
• Variables
• Partials
• Mixins
Nesting
• Your HTML is in a nested hierarchy. Your CSS can
be to.
• Write less
• Read more easily
Example
Variables
• Define once, use everywhere
• Control a whole layout or style from a few variables
• Use the variables in calculations, colour modifiers
and loads of other operators
Example
Partials and Import
• Split SCSS into manageable chunks.
• Organise your files
• Import open source libraries
Example
Mixins
• Reusable snippets of SCSS
• Prevent repetition
• Use open source mixins to make life easier
Example
How to make the switch
• Install SCSS - sass-lang.com/install
• Convert CSS to SCSS - Just rename .css to .scss
• Generate SCSS - scss styles.scss:styles.css
• Play and learn (and read the docs)
Example
Next steps
• Try SCSS out yourself
• Read the guide at sass-lang.com/guide
• Check out the Frameworks (Compass, Bourbon, Susy)
Questions

More Related Content

PDF
Tech talk on Tailwind CSS
PDF
Introduction to Apache Hive
PPTX
Tailwind CSS.11.pptx
PDF
Introduction to Kafka Streams
PPTX
Kubernates vs Openshift: What is the difference and comparison between Opensh...
PDF
Az 104 session 4: azure storage
PPTX
Introduction to Tailwind CSS - IM Tech Meetup - May 2022.pptx
PPTX
Introduction to laravel framework
Tech talk on Tailwind CSS
Introduction to Apache Hive
Tailwind CSS.11.pptx
Introduction to Kafka Streams
Kubernates vs Openshift: What is the difference and comparison between Opensh...
Az 104 session 4: azure storage
Introduction to Tailwind CSS - IM Tech Meetup - May 2022.pptx
Introduction to laravel framework

What's hot (20)

PDF
CSS Grid Layout Introduction
PDF
Securing Kafka
PDF
Why Laravel?
PDF
Redis
PDF
Google Anthos - Azure Stack - AWS Outposts :Comparison
PPTX
Introduction to Docker - 2017
PPTX
Docker Networking Overview
PPTX
An Overview of Apache Cassandra
PDF
Adopting Multi-Cloud Services with Confidence
PDF
Tailwind CSS - KanpurJS
PPTX
Introduction to Redis
PPTX
Azure Key Vault - Getting Started
PDF
Terraform
PPTX
Apache Atlas: Governance for your Data
PDF
Introduction to Azure Data Factory
PDF
Terraform: An Overview & Introduction
PPTX
Monitor Azure HDInsight with Azure Log Analytics
PPTX
Siligong.Data - May 2021 - Transforming your analytics workflow with dbt
PDF
Private cloud-webinar
PDF
Kafka Streams: What it is, and how to use it?
CSS Grid Layout Introduction
Securing Kafka
Why Laravel?
Redis
Google Anthos - Azure Stack - AWS Outposts :Comparison
Introduction to Docker - 2017
Docker Networking Overview
An Overview of Apache Cassandra
Adopting Multi-Cloud Services with Confidence
Tailwind CSS - KanpurJS
Introduction to Redis
Azure Key Vault - Getting Started
Terraform
Apache Atlas: Governance for your Data
Introduction to Azure Data Factory
Terraform: An Overview & Introduction
Monitor Azure HDInsight with Azure Log Analytics
Siligong.Data - May 2021 - Transforming your analytics workflow with dbt
Private cloud-webinar
Kafka Streams: What it is, and how to use it?
Ad

Viewers also liked (10)

PDF
Sassy Stylesheets with SCSS
PDF
Cloud Computing Bootcamp On The Google App Engine [v1.1]
PDF
Google App Engine and Social Apps
PPTX
Running with emmet and scss
PDF
Scalable Apps with Google App Engine
PDF
GDD Brazil 2010 - What's new in Google App Engine and Google App Engine For B...
PPT
Developing Java Web Applications In Google App Engine
PDF
Sass(SCSS)について
PDF
Save time by using SASS/SCSS
PDF
Google App Engine With Java And Groovy
Sassy Stylesheets with SCSS
Cloud Computing Bootcamp On The Google App Engine [v1.1]
Google App Engine and Social Apps
Running with emmet and scss
Scalable Apps with Google App Engine
GDD Brazil 2010 - What's new in Google App Engine and Google App Engine For B...
Developing Java Web Applications In Google App Engine
Sass(SCSS)について
Save time by using SASS/SCSS
Google App Engine With Java And Groovy
Ad

Similar to Css to-scss (20)

PDF
Intro to Sass for WordPress Developers
PDF
Turbo theming: Introduction to Sass & Compass
PDF
Sass and compass workshop
PPTX
SCSS Implementation
PDF
Lightning Talk on SASS
PDF
Sass that CSS
PDF
Getting Started with Sass & Compass
PDF
Getting SASSy with front end development
PDF
Atlanta Drupal User's Group - April 2015 - Sasstronauts: Advanced Sass Topics
DOCX
css-tools
PDF
Getting Sassy with CSS
PPT
UNIT 3.ppt
ODP
Sass presentation
PDF
Assembling Sass
PDF
Compass n Sass
KEY
Sass compass
PDF
October 2014 - USG Rock Eagle - Sass 101
PDF
SASS: The Next Wave in Styling and Theming
PPTX
SASS for WordPress Workshop
PDF
Sass - Tutorial
Intro to Sass for WordPress Developers
Turbo theming: Introduction to Sass & Compass
Sass and compass workshop
SCSS Implementation
Lightning Talk on SASS
Sass that CSS
Getting Started with Sass & Compass
Getting SASSy with front end development
Atlanta Drupal User's Group - April 2015 - Sasstronauts: Advanced Sass Topics
css-tools
Getting Sassy with CSS
UNIT 3.ppt
Sass presentation
Assembling Sass
Compass n Sass
Sass compass
October 2014 - USG Rock Eagle - Sass 101
SASS: The Next Wave in Styling and Theming
SASS for WordPress Workshop
Sass - Tutorial

More from frontendne (8)

PDF
Reacting pragmatically
PDF
Improving your workflow with gulp
PDF
An introduction in to the world of front end automation - frontend ne (02 07-15)
PDF
CSS Pseudo Classes
PDF
CSS Selectors
PDF
Marionette: the Backbone framework
PDF
Marionette: Building your first app
PDF
Speedy, solid, semantic layout with Susy
Reacting pragmatically
Improving your workflow with gulp
An introduction in to the world of front end automation - frontend ne (02 07-15)
CSS Pseudo Classes
CSS Selectors
Marionette: the Backbone framework
Marionette: Building your first app
Speedy, solid, semantic layout with Susy

Recently uploaded (20)

PDF
NewMind AI Monthly Chronicles - July 2025
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PPTX
A Presentation on Artificial Intelligence
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Electronic commerce courselecture one. Pdf
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPT
Teaching material agriculture food technology
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
NewMind AI Monthly Chronicles - July 2025
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Dropbox Q2 2025 Financial Results & Investor Presentation
The Rise and Fall of 3GPP – Time for a Sabbatical?
A Presentation on Artificial Intelligence
Chapter 3 Spatial Domain Image Processing.pdf
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
20250228 LYD VKU AI Blended-Learning.pptx
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Unlocking AI with Model Context Protocol (MCP)
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Electronic commerce courselecture one. Pdf
Per capita expenditure prediction using model stacking based on satellite ima...
Review of recent advances in non-invasive hemoglobin estimation
“AI and Expert System Decision Support & Business Intelligence Systems”
Teaching material agriculture food technology
Diabetes mellitus diagnosis method based random forest with bat algorithm

Css to-scss

  • 1. CSS to SCSS Making the Switch
  • 2. Rob Walker CTO of Papertrail.io Made the switch in September 2013, and have never looked back rob@papertrail.io @_rob_walker_
  • 3. Coming up • Why you should use SCSS • Working with SCSS • Making the switch • Next steps • Questions
  • 4. Resources • Examples from this talk at - 
 https://github.com/papertrailrob/frontendne-scss • http://sass-lang.com
  • 5. Why should you use SCSS • Easy to learn, and you can start today • Makes CSS more powerful • Will make your life easier
  • 6. Working with SCSS • Nesting • Variables • Partials • Mixins
  • 7. Nesting • Your HTML is in a nested hierarchy. Your CSS can be to. • Write less • Read more easily
  • 9. Variables • Define once, use everywhere • Control a whole layout or style from a few variables • Use the variables in calculations, colour modifiers and loads of other operators
  • 11. Partials and Import • Split SCSS into manageable chunks. • Organise your files • Import open source libraries
  • 13. Mixins • Reusable snippets of SCSS • Prevent repetition • Use open source mixins to make life easier
  • 15. How to make the switch • Install SCSS - sass-lang.com/install • Convert CSS to SCSS - Just rename .css to .scss • Generate SCSS - scss styles.scss:styles.css • Play and learn (and read the docs)
  • 17. Next steps • Try SCSS out yourself • Read the guide at sass-lang.com/guide • Check out the Frameworks (Compass, Bourbon, Susy)