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
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
AgentCore RuntimeからS3 Filesをマウントしてみる
har1101
3
390
マルチモーダル非構造データとの闘い
shibuiwilliam
2
310
AI時代に新卒採用、はじめました/junior-engineer-never-die
dmnlk
0
230
今年60歳のおっさんCBになる
kentapapa
1
350
Claude Teamプランの選定と、できること/できないこと
rfdnxbro
1
1.8k
Oracle AI Database@Google Cloud:サービス概要のご紹介
oracle4engineer
PRO
6
1.3k
Kubernetes基盤における開発者体験 とセキュリティの両⽴ / Balancing developer experience and security in a Kubernetes-based environment
chmikata
0
220
試されDATA SAPPORO [LT]Claude Codeで「ゆっくりデータ分析」
ishikawa_satoru
0
340
あるアーキテクチャ決定と その結果/architecture-decision-and-its-result
hanhan1978
2
560
Cortex Code君、今日から内製化支援担当ね。
coco_se
0
320
第26回FA設備技術勉強会 - Claude/Claude_codeでデータ分析 -
happysamurai294
0
400
建設的な現実逃避のしかた / How to practice constructive escapism
pauli
4
300
Featured
See All Featured
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
500
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
400
HDC tutorial
michielstock
1
610
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
120
The SEO Collaboration Effect
kristinabergwall1
0
420
Art, The Web, and Tiny UX
lynnandtonic
304
21k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
Ethics towards AI in product and experience design
skipperchong
2
250
Done Done
chrislema
186
16k
Exploring anti-patterns in Rails
aemeredith
3
310
Technical Leadership for Architectural Decision Making
baasie
3
310
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?