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
4
310
SCSS vs LESS
Comparing and contrasting two CSS alternatives
Andrew Thal
April 20, 2012
Tweet
Share
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
700
Guard & Growl
athal7
0
140
Git Aliases
athal7
6
150
Other Decks in Technology
See All in Technology
超初心者からでも大丈夫!オープンソース半導体の楽しみ方〜今こそ!オレオレチップをつくろう〜
keropiyo
0
110
生成AI時代にこそ求められるSRE / SRE for Gen AI era
ymotongpoo
5
3k
プロポーザルに込める段取り八分
shoheimitani
1
190
15 years with Rails and DDD (AI Edition)
andrzejkrzywda
0
180
会社紹介資料 / Sansan Company Profile
sansan33
PRO
15
400k
Webhook best practices for rock solid and resilient deployments
glaforge
1
280
2026年、サーバーレスの現在地 -「制約と戦う技術」から「当たり前の実行基盤」へ- /serverless2026
slsops
2
220
Agile Leadership Summit Keynote 2026
m_seki
1
570
制約が導く迷わない設計 〜 信頼性と運用性を両立するマイナンバー管理システムの実践 〜
bwkw
3
920
~Everything as Codeを諦めない~ 後からCDK
mu7889yoon
3
320
セキュリティについて学ぶ会 / 2026 01 25 Takamatsu WordPress Meetup
rocketmartue
1
300
Codex 5.3 と Opus 4.6 にコーポレートサイトを作らせてみた / Codex 5.3 vs Opus 4.6
ama_ch
0
120
Featured
See All Featured
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
410
Ethics towards AI in product and experience design
skipperchong
2
190
Ruling the World: When Life Gets Gamed
codingconduct
0
140
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
122
21k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
130
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
Docker and Python
trallard
47
3.7k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
700
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Building AI with AI
inesmontani
PRO
1
690
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.8k
SEO for Brand Visibility & Recognition
aleyda
0
4.2k
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?