Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
SCSS vs LESS
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Andrew Thal
April 20, 2012
Technology
320
4
Share
SCSS vs LESS
Comparing and contrasting two CSS alternatives
Andrew Thal
April 20, 2012
More Decks by Andrew Thal
See All by Andrew Thal
The Thank You Economy
athal7
0
170
Developing for Multiple Browsers
athal7
1
150
Scala
athal7
4
710
Guard & Growl
athal7
0
140
Git Aliases
athal7
6
160
Other Decks in Technology
See All in Technology
ネットワーク運用を楽にするAWS DevOps Agent活用法!! / 20260421 Masaki Okuda
shift_evolve
PRO
2
210
Introduction to Sansan, inc / Sansan Global Development Center, Inc.
sansan33
PRO
0
3.1k
Chasing Real-Time Observability for CRuby
whitegreen
0
120
目的ファーストのハーネス設計 ~ハーネスの変更容易性を高めるための優先順位~
gotalab555
8
2.2k
AI駆動1on1〜AIに自分を育ててもらう〜
yoshiakiyasuda
0
120
AI와 협업하는 조직으로의 여정
arawn
0
420
コードや知識を組み込む / Incorporate Code and Knowledge
ks91
PRO
0
150
Master Dataグループ紹介資料
sansan33
PRO
1
4.6k
こんなアーキテクチャ図はいやだ / Anti-pattern in AWS Architecture Diagrams
naospon
1
450
みんなで作るAWS Tips 100連発 (FinOps編)
schwrzktz
1
300
Rapid Start: Faster Internet Connections, with Ruby's Help
kazuho
2
530
Introduction to Sansan for Engineers / エンジニア向け会社紹介
sansan33
PRO
6
74k
Featured
See All Featured
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
200
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.2k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
200
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
680
KATA
mclloyd
PRO
35
15k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
320
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
1
520
How to train your dragon (web standard)
notwaldorf
97
6.6k
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
2
760
How GitHub (no longer) Works
holman
316
150k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
1.9k
Technical Leadership for Architectural Decision Making
baasie
3
330
Transcript
SCSS vs LESS What's the dif?
Why CSS Sucks
Why CSS Sucks Repetitive code
Why CSS Sucks Long calls (no nesting)
Why CSS Sucks "Magic" Numbers
Necessary Boring Part
Syntactically Awesome Stylesheets Earlier versions inspired by HAML Version 3
SCSS (Sassy CSS) - CSS OK SASS/SCSS
Creator: Alexis Sellier (cloudhead) Can use in Belorussian LESS
Feature Nesting Operations, Flow control Selector Inheritance Compiles in the
browser SCSS LESS Feature Comparison
Feature Variables Mixins String Interpolation JS Evaluation SCSS $ @mixin
#{} none LESS @ . #{} `"hello".toUpperCase() + '!'` Syntax Differences
Dude, show me the code already
SCSS CSS
LESS CSS
CSS 742 SCSS 748 Character comparison LESS 704
So what should I use?
None
fewer characters (@mixin vs .) bootstrap compiles in js -SCSS
needs compiler outside of Ruby Why?