Soumettre la recherche
Mettre en ligne
Sass: CSS with Attitude
•
Télécharger en tant que KEY, PDF
•
3 j'aime
•
812 vues
John Albin Wilkins
Suivre
Technologie
Signaler
Partager
Signaler
Partager
1 sur 62
Télécharger maintenant
Recommandé
Getting Plone Ready For The Prom
Getting Plone Ready For The Prom
Clayton Parker
Trip to reikorangi
Trip to reikorangi
room8kk
Linea and Brick Homes
Linea and Brick Homes
room8kk
U learn 2010
U learn 2010
room8kk
Our Iceberg Is Melting
Our Iceberg Is Melting
legedug
Green Flash Words
Green Flash Words
room8kk
Voicethread Presentation
Voicethread Presentation
room8kk
Blogging And You
Blogging And You
room8kk
Recommandé
Getting Plone Ready For The Prom
Getting Plone Ready For The Prom
Clayton Parker
Trip to reikorangi
Trip to reikorangi
room8kk
Linea and Brick Homes
Linea and Brick Homes
room8kk
U learn 2010
U learn 2010
room8kk
Our Iceberg Is Melting
Our Iceberg Is Melting
legedug
Green Flash Words
Green Flash Words
room8kk
Voicethread Presentation
Voicethread Presentation
room8kk
Blogging And You
Blogging And You
room8kk
Word List 5
Word List 5
room8kk
Teamwork Rat
Teamwork Rat
legedug
Mobile drupal: building a mobile theme
Mobile drupal: building a mobile theme
John Albin Wilkins
Word List 2
Word List 2
room8kk
Word List 1
Word List 1
room8kk
Word List 4
Word List 4
room8kk
Voicethread Presentation
Voicethread Presentation
room8kk
U learn 2010
U learn 2010
room8kk
Promo for ulearn 2011
Promo for ulearn 2011
room8kk
Our Iceberg Is Melting
Our Iceberg Is Melting
legedug
FiloDB - Breakthrough OLAP Performance with Cassandra and Spark
FiloDB - Breakthrough OLAP Performance with Cassandra and Spark
Evan Chan
LESS
LESS
Joe Seifi
The CSS of Tomorrow (Front Row 2011)
The CSS of Tomorrow (Front Row 2011)
Peter Gasston
パフォーマンスから考えるSass/Compassの導入・運用
パフォーマンスから考えるSass/Compassの導入・運用
Koji Ishimoto
The CSS3 of Tomorrow (Version 2)
The CSS3 of Tomorrow (Version 2)
Peter Gasston
The Home of the Future: CSS Layouts
The Home of the Future: CSS Layouts
Peter Gasston
[A5]deview 2012 pt hds webkit_gpu
[A5]deview 2012 pt hds webkit_gpu
NAVER D2
Bringing sexy back to CSS: SASS/SCSS, LESS and Compass
Bringing sexy back to CSS: SASS/SCSS, LESS and Compass
Claudina Sarahe
CSS3 Layout
CSS3 Layout
Zoe Gillenwater
Sass&compass
Sass&compass
Min Jun Kim
CSS Wish List @JSConf
CSS Wish List @JSConf
Nicole Sullivan
CSS3 3D Workshop
CSS3 3D Workshop
Christopher Schmitt
Contenu connexe
En vedette
Word List 5
Word List 5
room8kk
Teamwork Rat
Teamwork Rat
legedug
Mobile drupal: building a mobile theme
Mobile drupal: building a mobile theme
John Albin Wilkins
Word List 2
Word List 2
room8kk
Word List 1
Word List 1
room8kk
Word List 4
Word List 4
room8kk
Voicethread Presentation
Voicethread Presentation
room8kk
U learn 2010
U learn 2010
room8kk
Promo for ulearn 2011
Promo for ulearn 2011
room8kk
Our Iceberg Is Melting
Our Iceberg Is Melting
legedug
FiloDB - Breakthrough OLAP Performance with Cassandra and Spark
FiloDB - Breakthrough OLAP Performance with Cassandra and Spark
Evan Chan
En vedette
(11)
Word List 5
Word List 5
Teamwork Rat
Teamwork Rat
Mobile drupal: building a mobile theme
Mobile drupal: building a mobile theme
Word List 2
Word List 2
Word List 1
Word List 1
Word List 4
Word List 4
Voicethread Presentation
Voicethread Presentation
U learn 2010
U learn 2010
Promo for ulearn 2011
Promo for ulearn 2011
Our Iceberg Is Melting
Our Iceberg Is Melting
FiloDB - Breakthrough OLAP Performance with Cassandra and Spark
FiloDB - Breakthrough OLAP Performance with Cassandra and Spark
Similaire à Sass: CSS with Attitude
LESS
LESS
Joe Seifi
The CSS of Tomorrow (Front Row 2011)
The CSS of Tomorrow (Front Row 2011)
Peter Gasston
パフォーマンスから考えるSass/Compassの導入・運用
パフォーマンスから考えるSass/Compassの導入・運用
Koji Ishimoto
The CSS3 of Tomorrow (Version 2)
The CSS3 of Tomorrow (Version 2)
Peter Gasston
The Home of the Future: CSS Layouts
The Home of the Future: CSS Layouts
Peter Gasston
[A5]deview 2012 pt hds webkit_gpu
[A5]deview 2012 pt hds webkit_gpu
NAVER D2
Bringing sexy back to CSS: SASS/SCSS, LESS and Compass
Bringing sexy back to CSS: SASS/SCSS, LESS and Compass
Claudina Sarahe
CSS3 Layout
CSS3 Layout
Zoe Gillenwater
Sass&compass
Sass&compass
Min Jun Kim
CSS Wish List @JSConf
CSS Wish List @JSConf
Nicole Sullivan
CSS3 3D Workshop
CSS3 3D Workshop
Christopher Schmitt
Mobile-first OOCSS, Sass & Compass at BBC Responsive News
Mobile-first OOCSS, Sass & Compass at BBC Responsive News
Kaelig Deloumeau-Prigent
Css3
Css3
Inbal Geffen
Getting Started with Sass & Compass
Getting Started with Sass & Compass
Rob Davarnia
From CSS to Sass in WordPress
From CSS to Sass in WordPress
James Steinbach
SASS, Compass, Gulp, Greensock
SASS, Compass, Gulp, Greensock
Marco Pinheiro
Composer, putting dependencies on the score
Composer, putting dependencies on the score
Rafael Dohms
A brief look at CSS3 techniques by Aaron Rodgers, Web Designer @ vzaar.com
A brief look at CSS3 techniques by Aaron Rodgers, Web Designer @ vzaar.com
applicake
The New CSS Layout - Dutch PHP Conference
The New CSS Layout - Dutch PHP Conference
Rachel Andrew
[WebVisions 2010] CSS3 Workshop (Afternoon)
[WebVisions 2010] CSS3 Workshop (Afternoon)
Christopher Schmitt
Similaire à Sass: CSS with Attitude
(20)
LESS
LESS
The CSS of Tomorrow (Front Row 2011)
The CSS of Tomorrow (Front Row 2011)
パフォーマンスから考えるSass/Compassの導入・運用
パフォーマンスから考えるSass/Compassの導入・運用
The CSS3 of Tomorrow (Version 2)
The CSS3 of Tomorrow (Version 2)
The Home of the Future: CSS Layouts
The Home of the Future: CSS Layouts
[A5]deview 2012 pt hds webkit_gpu
[A5]deview 2012 pt hds webkit_gpu
Bringing sexy back to CSS: SASS/SCSS, LESS and Compass
Bringing sexy back to CSS: SASS/SCSS, LESS and Compass
CSS3 Layout
CSS3 Layout
Sass&compass
Sass&compass
CSS Wish List @JSConf
CSS Wish List @JSConf
CSS3 3D Workshop
CSS3 3D Workshop
Mobile-first OOCSS, Sass & Compass at BBC Responsive News
Mobile-first OOCSS, Sass & Compass at BBC Responsive News
Css3
Css3
Getting Started with Sass & Compass
Getting Started with Sass & Compass
From CSS to Sass in WordPress
From CSS to Sass in WordPress
SASS, Compass, Gulp, Greensock
SASS, Compass, Gulp, Greensock
Composer, putting dependencies on the score
Composer, putting dependencies on the score
A brief look at CSS3 techniques by Aaron Rodgers, Web Designer @ vzaar.com
A brief look at CSS3 techniques by Aaron Rodgers, Web Designer @ vzaar.com
The New CSS Layout - Dutch PHP Conference
The New CSS Layout - Dutch PHP Conference
[WebVisions 2010] CSS3 Workshop (Afternoon)
[WebVisions 2010] CSS3 Workshop (Afternoon)
Plus de John Albin Wilkins
Using the CSS Nesting Spec Today
Using the CSS Nesting Spec Today
John Albin Wilkins
The Drupal Roadmap: From D7 to D9
The Drupal Roadmap: From D7 to D9
John Albin Wilkins
Mastering Drupal 8’s Twig
Mastering Drupal 8’s Twig
John Albin Wilkins
CSS-in-JS: unexpected lessons for Drupal component design
CSS-in-JS: unexpected lessons for Drupal component design
John Albin Wilkins
Style Guide Driven Development: All Hail the Robot Overlords!
Style Guide Driven Development: All Hail the Robot Overlords!
John Albin Wilkins
Styleguide-Driven Development: The New Web Development
Styleguide-Driven Development: The New Web Development
John Albin Wilkins
Managing Complex Projects with Design Components - Drupalcon Austin 2014
Managing Complex Projects with Design Components - Drupalcon Austin 2014
John Albin Wilkins
DrupalSouth 2014: Managing Complex Projects with Design Components
DrupalSouth 2014: Managing Complex Projects with Design Components
John Albin Wilkins
SassConf: Managing Complex Projects with Design Components
SassConf: Managing Complex Projects with Design Components
John Albin Wilkins
Drupal Camp Taipei Keynote
Drupal Camp Taipei Keynote
John Albin Wilkins
Become an IA superstar (Chinese version)
Become an IA superstar (Chinese version)
John Albin Wilkins
Mastering zen
Mastering zen
John Albin Wilkins
Drupal and the Future of the Web
Drupal and the Future of the Web
John Albin Wilkins
What's new in D7 Theming?
What's new in D7 Theming?
John Albin Wilkins
Default theme implementations: a guide for module developers that want sweet ...
Default theme implementations: a guide for module developers that want sweet ...
John Albin Wilkins
Rocking the Theme Layer
Rocking the Theme Layer
John Albin Wilkins
Drupal Design Tips
Drupal Design Tips
John Albin Wilkins
New Adventures in Drupal Theming
New Adventures in Drupal Theming
John Albin Wilkins
Nanocon Taiwan
Nanocon Taiwan
John Albin Wilkins
Making Drupal Dance: Techniques for Non-obvious Theme Manipulations
Making Drupal Dance: Techniques for Non-obvious Theme Manipulations
John Albin Wilkins
Plus de John Albin Wilkins
(20)
Using the CSS Nesting Spec Today
Using the CSS Nesting Spec Today
The Drupal Roadmap: From D7 to D9
The Drupal Roadmap: From D7 to D9
Mastering Drupal 8’s Twig
Mastering Drupal 8’s Twig
CSS-in-JS: unexpected lessons for Drupal component design
CSS-in-JS: unexpected lessons for Drupal component design
Style Guide Driven Development: All Hail the Robot Overlords!
Style Guide Driven Development: All Hail the Robot Overlords!
Styleguide-Driven Development: The New Web Development
Styleguide-Driven Development: The New Web Development
Managing Complex Projects with Design Components - Drupalcon Austin 2014
Managing Complex Projects with Design Components - Drupalcon Austin 2014
DrupalSouth 2014: Managing Complex Projects with Design Components
DrupalSouth 2014: Managing Complex Projects with Design Components
SassConf: Managing Complex Projects with Design Components
SassConf: Managing Complex Projects with Design Components
Drupal Camp Taipei Keynote
Drupal Camp Taipei Keynote
Become an IA superstar (Chinese version)
Become an IA superstar (Chinese version)
Mastering zen
Mastering zen
Drupal and the Future of the Web
Drupal and the Future of the Web
What's new in D7 Theming?
What's new in D7 Theming?
Default theme implementations: a guide for module developers that want sweet ...
Default theme implementations: a guide for module developers that want sweet ...
Rocking the Theme Layer
Rocking the Theme Layer
Drupal Design Tips
Drupal Design Tips
New Adventures in Drupal Theming
New Adventures in Drupal Theming
Nanocon Taiwan
Nanocon Taiwan
Making Drupal Dance: Techniques for Non-obvious Theme Manipulations
Making Drupal Dance: Techniques for Non-obvious Theme Manipulations
Dernier
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
Nanddeep Nachan
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
Elevate Developer Efficiency & build GenAI Application with Amazon Q
Elevate Developer Efficiency & build GenAI Application with Amazon Q
Bhuvaneswari Subramani
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Edi Saputra
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
apidays
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
Khushali Kathiriya
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
MIND CTI
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
sudhanshuwaghmare1
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
The Digital Insurer
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
johnbeverley2021
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
Andrey Devyatkin
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
apidays
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
sammart93
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
UiPathCommunity
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Orbitshub
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
Product Anonymous
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
danishmna97
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
MadyBayot
Dernier
(20)
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Elevate Developer Efficiency & build GenAI Application with Amazon Q
Elevate Developer Efficiency & build GenAI Application with Amazon Q
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
Sass: CSS with Attitude
1.
Sass
: CSS 011 ign w ith A s ttitu Berlin 2 al De de June Drup Camp 6 25+2 John Albin W @Joh ilkins nAlbi http:/ n /www .flickr .com /phot os/phil yfn/5 5627 5594 3/
2.
Why does CSS
suck?
3.
Why does CSS
suck? ★ Redundancy
4.
Why does CSS
suck? ★ Redundancy ★ #block-menu-block-main-menu-level-tertiary .content a:link {} #block-menu-block-main-menu-level-tertiary .content a:visited {} #block-menu-block-main-menu-level-tertiary .content a:hover, #block-menu-block-main-menu-level-tertiary .content a:focus {}
5.
Why does CSS
suck? ★ Redundancy ★ #block-menu-block-main-menu-level-tertiary .content a:link {} #block-menu-block-main-menu-level-tertiary .content a:visited {} #block-menu-block-main-menu-level-tertiary .content a:hover, #block-menu-block-main-menu-level-tertiary .content a:focus {} ★ Redundancy
6.
Why does CSS
suck? ★ Redundancy ★ #block-menu-block-main-menu-level-tertiary .content a:link {} #block-menu-block-main-menu-level-tertiary .content a:visited {} #block-menu-block-main-menu-level-tertiary .content a:hover, #block-menu-block-main-menu-level-tertiary .content a:focus {} ★ Redundancy ★ a { color: #cff; } .box { border-color: #cff; }
7.
Why does CSS
suck? ★ Redundancy ★ #block-menu-block-main-menu-level-tertiary .content a:link {} #block-menu-block-main-menu-level-tertiary .content a:visited {} #block-menu-block-main-menu-level-tertiary .content a:hover, #block-menu-block-main-menu-level-tertiary .content a:focus {} ★ Redundancy ★ a { color: #cff; } .box { border-color: #cff; } ★ Redundancy
8.
Why does CSS
suck? ★ Redundancy ★ #block-menu-block-main-menu-level-tertiary .content a:link {} #block-menu-block-main-menu-level-tertiary .content a:visited {} #block-menu-block-main-menu-level-tertiary .content a:hover, #block-menu-block-main-menu-level-tertiary .content a:focus {} ★ Redundancy ★ a { color: #cff; } .box { border-color: #cff; } ★ Redundancy .box { -webkit-box-shadow: 1px 1px 10px 3px #ccc;
9.
Why does CSS
suck? ★ Redundancy ★ #block-menu-block-main-menu-level-tertiary .content a:link {} #block-menu-block-main-menu-level-tertiary .content a:visited {} #block-menu-block-main-menu-level-tertiary .content a:hover, #block-menu-block-main-menu-level-tertiary .content a:focus {} ★ Redundancy ★ a { color: #cff; } .box { border-color: #cff; } ★ Redundancy .box { -webkit-box-shadow: 1px 1px 10px 3px #ccc; -moz-box-shadow: 1px 1px 10px 3px #ccc;
10.
Why does CSS
suck? ★ Redundancy ★ #block-menu-block-main-menu-level-tertiary .content a:link {} #block-menu-block-main-menu-level-tertiary .content a:visited {} #block-menu-block-main-menu-level-tertiary .content a:hover, #block-menu-block-main-menu-level-tertiary .content a:focus {} ★ Redundancy ★ a { color: #cff; } .box { border-color: #cff; } ★ Redundancy .box { -webkit-box-shadow: 1px 1px 10px 3px #ccc; -moz-box-shadow: 1px 1px 10px 3px #ccc; box-shadow: 1px 1px 10px 3px #ccc; }
11.
Sass sucks less
12.
Sass sucks less ★
Sass is easy to learn: It is CSS + goodies
13.
Sass sucks less ★
Sass is easy to learn: It is CSS + goodies ★ Browsers don’t understand sass
14.
Sass sucks less ★
Sass is easy to learn: It is CSS + goodies ★ Browsers don’t understand sass ★ Sass is compiled
15.
.empty-rules {} // and
comments
16.
.empty-rules {}
// and comments ★ // Comments are not in rendered CSS
17.
.empty-rules {}
// and comments ★ // Comments are not in rendered CSS ★ /* Comments _are_ in rendered CSS */
18.
.empty-rules {}
// and comments ★ // Comments are not in rendered CSS ★ /* Comments _are_ in rendered CSS */ ★ .empty-rulesets {} // Not included.
19.
nested { rules
}
20.
nested { rules
} ★ .block { font-size: 12px; h2 { font-size: 18px; // Hell, yeah! } }
21.
nested { rules
} ★ .block { font-size: 12px; h2 { font-size: 18px; // Hell, yeah! } } ★ .block { font-size: 12px; } .block h2 { font-size: 20px; }
22.
nested { rules
}
23.
nested { rules
} ★ #block-menu-block-main-menu-level-tertiary .content a:link {} #block-menu-block-main-menu-level-tertiary .content a:visited {} #block-menu-block-main-menu-level-tertiary .content a:hover, #block-menu-block-main-menu-level-tertiary .content a:focus {}
24.
nested { rules
} ★ #block-menu-block-main-menu-level-tertiary .content a:link {} #block-menu-block-main-menu-level-tertiary .content a:visited {} #block-menu-block-main-menu-level-tertiary .content a:hover, #block-menu-block-main-menu-level-tertiary .content a:focus {} ★ #block-menu-block-main-menu-level-tertiary .content { a:link {} a:visited {} a:hover, a:focus {} }
25.
nested { rules
} ★ #block-menu-block-main-menu-level-tertiary .content a:link {} #block-menu-block-main-menu-level-tertiary .content a:visited {} #block-menu-block-main-menu-level-tertiary .content a:hover, #block-menu-block-main-menu-level-tertiary .content a:focus {} ★ #block-menu-block-main-menu-level-tertiary .content { a:link {} a:visited {} a:hover, a:focus {} }
26.
nested { rules
}
27.
nested { rules
} ★ .block { margin-bottom: 1.5em; &.last { // Last block in region margin-bottom: 0; } .body-class & { margin-bottom: 2em; } }
28.
nested { rules
} ★ .block { margin-bottom: 1.5em; &.last { // Last block in region margin-bottom: 0; } .body-class & { margin-bottom: 2em; } } ★ .block { margin-bottom: 1.5em; } .block.last { margin-bottom: 0; } .body-class .block { margin-bottom: 2em; }
29.
nested-properties
30.
nested-properties ★ border: 2px
solid #333; border-left: 1px dotted #ccc;
31.
nested-properties ★ border: 2px
solid #333; border-left: 1px dotted #ccc; ★ border: 2px solid #333 { left: 1px dotted #ccc; // border-left top { width: 1px; // border-top-width } }
32.
$variables
33.
$variables ★ $blue: #3bbfce;
$default-font: Georgia, "Times New Roman", "DejaVu Serif", serif;
34.
Math * 2
35.
Math * 2 ★
$grid-width: 960px / 8;
36.
Math * 2 ★
$grid-width: 960px / 8; ★ Any of these: + - * / %
37.
functions() http://sass-lang.com/docs/yardoc/Sass/Script/Functions.html
38.
functions() http://sass-lang.com/docs/yardoc/Sass/Script/Functions.html ★
RGB functions rgb(), rgba(), mix()
39.
functions() http://sass-lang.com/docs/yardoc/Sass/Script/Functions.html ★
RGB functions rgb(), rgba(), mix() ★ HSL functions hsla(), lighten(), darken(), desaturate()
40.
functions() http://sass-lang.com/docs/yardoc/Sass/Script/Functions.html ★
RGB functions rgb(), rgba(), mix() ★ HSL functions hsla(), lighten(), darken(), desaturate() ★ Opacity functions opacify(), transparentize()
41.
functions() http://sass-lang.com/docs/yardoc/Sass/Script/Functions.html ★
RGB functions rgb(), rgba(), mix() ★ HSL functions hsla(), lighten(), darken(), desaturate() ★ Opacity functions opacify(), transparentize() ★ Make your own! ponycorn()
42.
_Partials
43.
_Partials ★ Shared resources
for your project.
44.
_Partials ★ Shared resources
for your project. ★ Name them with an underscore. Include them without an underscore.
45.
_Partials ★ Shared resources
for your project. ★ Name them with an underscore. Include them without an underscore. ★ @include “partial”;
46.
@ mixins
47.
@ mixins ★ #main
{ @include element-invisible; }
48.
compile / watch
49.
compile / watch ★
sass sass/style.scss css/style.css
50.
compile / watch ★
sass sass/style.scss css/style.css ★ sass --watch sass:css
51.
FireSass
52.
FireSass ★ sass --debug-info
--watch sass:css
53.
Compass
54.
Compass ★ package manager
55.
Compass ★ package manager ★
frameworks/groups of pre-built functionality
56.
compass watch
57.
compass watch ★ The
magic is in config.rb
58.
compass watch ★ The
magic is in config.rb ★ compass watch .
59.
More Awesome
60.
More Awesome ★ Sass:
http://sass-lang.com
61.
More Awesome ★ Sass:
http://sass-lang.com ★ Compass: http://compass-style.org
62.
More Awesome ★ Sass:
http://sass-lang.com ★ Compass: http://compass-style.org ★ Zen 7.x-5.x
Notes de l'éditeur
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
Télécharger maintenant