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
Andrew Thal
April 20, 2012
Technology
4
270
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
140
Developing for Multiple Browsers
athal7
1
110
Scala
athal7
4
660
Guard & Growl
athal7
0
110
Git Aliases
athal7
5
130
Other Decks in Technology
See All in Technology
本当のAWS基礎
toru_kubota
1
620
【SORACOM UG 東海】あらゆるモノがつながる社会へ、IoT と SORACOM
soracom
PRO
1
140
ワールドカフェI /チューターを改良する / World Café I and Improving the Tutors
ks91
PRO
0
150
AOAI をきっかけに 社内の Azure 管理を見直した話
recruitengineers
PRO
1
450
VSCodeの拡張機能を作っている話
ebarakazuhiro
1
800
アクセス制御にまつわる改善 / Improving access control
itkq
0
590
.NET Profiler in 2024.
kkamegawa
2
1k
今年のRubyKaigiはProfiler Year🤘
osyoyu
0
350
Gradle Build Scanを使ってビルドのことを知ろう potatotips #87
tomorrowkey
2
150
プロンプトエンジニアリングでがんばらない-Agentic Workflow へ-近藤憲児
kenjikondobai
6
1.2k
JAWS-UG Bedrock Claude Night
yamahiro
3
700
いつか使うかも貯金してたらめちゃめちゃ機能が増えてた話
riyaamemiya
0
610
Featured
See All Featured
BBQ
matthewcrist
80
8.8k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
41
4.4k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
22
1.6k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
13
8.3k
Web development in the modern age
philhawksworth
203
10k
VelocityConf: Rendering Performance Case Studies
addyosmani
321
23k
Intergalactic Javascript Robots from Outer Space
tanoku
266
26k
Raft: Consensus for Rubyists
vanstee
133
6.3k
Clear Off the Table
cherdarchuk
85
310k
Stop Working from a Prison Cell
hatefulcrawdad
267
19k
Being A Developer After 40
akosma
66
580k
Art, The Web, and Tiny UX
lynnandtonic
290
19k
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?