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
180
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
運用システムにおけるデータ活用とPlatform
sansantech
PRO
0
140
「SaaSの次の時代」に重要性を増すステークホルダーマネジメントの要諦 ~解像度を圧倒的に高めPdMの価値を最大化させる方法~
kakehashi
PRO
3
2.8k
Standards et agents IA : un tour d’horizon de MCP, A2A, ADK et plus encore
glaforge
0
210
[最強DB講義]推薦システム | 評価編
recsyslab
PRO
0
110
AgentCore×VPCでの設計パターンn選と勘所
har1101
4
340
"おまじない"を卒業する ボイラープレート再入門
shunsuke_1b
1
120
COBOL婆さんの伝説
poropinai1966
0
110
ネットワーク運用を楽にするAWS DevOps Agent活用法!! / 20260421 Masaki Okuda
shift_evolve
PRO
2
240
Expiration of Secure Boot Certificates for vSphere Virtual Machines
mirie_sd
0
120
色を視る
yuzneri
0
240
バイブコーディングで3倍早く⚪⚪を作ってみた
samakada
0
190
小説執筆のハーネスエンジニアリング
yoshitetsu
0
820
Featured
See All Featured
The Mindset for Success: Future Career Progression
greggifford
PRO
0
310
What does AI have to do with Human Rights?
axbom
PRO
1
2.1k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
380
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
210
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
320
Unsuck your backbone
ammeep
672
58k
Scaling GitHub
holman
464
140k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.8k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
200
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
0
290
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
750
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
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?