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
Sass
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
radiantmagic
March 24, 2012
Design
1.6k
2
Share
Sass
CSS wie es eigentlich sein sollte
radiantmagic
March 24, 2012
Other Decks in Design
See All in Design
セブンデックス プロジェクト事例 / innovation Scenes
sevendex
1
830
改正JISを見据えた、企業のアクセシビリティ対応ロードマップ
securecat
1
380
The Art of Caring
klemens
0
340
Frontier
rwang05
0
140
2026年の勢い / Momentum for 2026
bebe
0
450
AIスライド生成を進化させるMDファイル
kenichiota0711
0
1.1k
ISO 9241-171:2025っていうのがあってな
shosira
1
140
Connpass-Xperia_Camera_App_by_HCD.pdf
sony
1
640
はじめての演奏会フライヤーデザイン
chorkaichan
1
300
再設計される業務 - AIにより再設計される "デザインワークフロー" / AI Ops Lab #2 Redesigned orkflows
kgsi
0
660
Design dependencies
teba_eleven
0
110
プロダクトデザイナーに学ぶ、『見る気が起きる』ダッシュボードの作り方 / Creating Engaging Dashboards: Lessons from Product Designers
yamamotoyuta
2
820
Featured
See All Featured
Claude Code のすすめ
schroneko
67
220k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
180
Embracing the Ebb and Flow
colly
88
5.1k
How to build a perfect <img>
jonoalderson
1
5.5k
What's in a price? How to price your products and services
michaelherold
247
13k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
30k
Six Lessons from altMBA
skipperchong
29
4.3k
Deep Space Network (abreviated)
tonyrice
0
150
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.7k
What does AI have to do with Human Rights?
axbom
PRO
1
2.2k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.5k
GitHub's CSS Performance
jonrohan
1033
470k
Transcript
© 2012
[email protected]
Sass CSS wie es eigentlich sein sollte
Was ist Sass? ‣ Sass - Syntactically Awesome Stylesheets ‣
Sass ist ein CSS Präprozessor, der Sass zu CSS ‚kompiliert‘ ‣ Folgt dem DRY Prinzip von Ruby On Rails - Don't repeat yourself ‣ Bestandteil der Rails 3 Asset Pipeline ‣ Fazit: Sass ist CSS wie es eigentlich sein sollte
Sass-Features ★ Nesting ★ Variablen ★ Funktionen ★ Mixins ★
Vererbung
Nesting
Variablen
Funktionen
Mixins
Vererbung
Alternative Syntax Sass vs. SCSS vs. CSS
Installation gem install sass
Präprozessor ‣ Syntax-Prüfung erkennt Schreibfehler ‣ @import - alles in
einer Datei ‣ Optimiertes CSS (minify, gruppierte Selektoren) ‣ $ sass --watch input-dir:output-dir ‣ $ sass --style compressed input.sass output.css
Sass-Tools und -Libraries github.com/search?q=sass&type=Repositories css2sass sass-twitter-bootstrap tenplate
Andere Plattformen ‣ Typo3: Sassify ‣ Wordpress: Sass for Wordpress
‣ PHP: PHamlP ‣ Python: python-sass ‣ RadiantMagic: Sass- & SCSS-Filter build in
Lesenswertes ‣ http://sass-lang.com ‣ http://compass-style.org/ ‣ http://thoughtbot.com/bourbon/ ‣ http://www.webkrauts.de/2011/12/04/sass-compas/ ‣
http://www.alistapart.com/articles/getting-started-with-sass/ ‣ http://pragprog.com/book/pg_sass/pragmatic-guide-to-sass ‣ https://github.com/seaofclouds/sass-textmate-bundle ‣ https://github.com/search?q=sass&type=Repositories ‣ https://radiantmagic.com/