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
爆速開発でAIプロダクトが40万インプレッションになった話
tsubura
0
230
From the Visible Crossroads: Turning Outputs into Outcomes
takaikanako
2
1.4k
CREATIVE CLASS受講課題|無印良品を題材としたブランド再構築について
happy_ferret153
0
860
2026_01_07_3DプリントはじめましたLT.pdf
hideakitakechi
0
160
Treasure_Hunting
solmetts
0
370
絵や写真から学ぶ、要素がもたらす副作用
kspace
0
260
The Art of Caring
klemens
0
290
モビリティプラットフォームの未来を築くクラウド基盤
kossykinto
0
260
デザイナーとエンジニアで 同じ山に登ろう
moco1013
0
210
「バイブコーディングって何?」から始まった、 AIとの一年間と、その先のこと
seto
0
420
なぜ、インサイトを貯めるのか?
tajima_kaho
1
320
Vibe Coding デザインシステム
poteboy
3
1.8k
Featured
See All Featured
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
0
270
A Tale of Four Properties
chriscoyier
163
24k
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.8k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
231
23k
Google's AI Overviews - The New Search
badams
0
970
Un-Boring Meetings
codingconduct
0
270
Utilizing Notion as your number one productivity tool
mfonobong
4
290
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.8k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
61
43k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
54k
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/