Soumettre la recherche
Mettre en ligne
Css Preprocessors
•
1 j'aime
•
626 vues
Ed Moore
Suivre
Talk on CSS Preprocessors from Creative Coders in Singapore
Lire moins
Lire la suite
Technologie
Signaler
Partager
Signaler
Partager
1 sur 68
Télécharger maintenant
Télécharger pour lire hors ligne
Recommandé
Introduction to the Web and HTML
Introduction to the Web and HTML
SiddharthBorderwala
How to use CSS3 in WordPress - Sacramento
How to use CSS3 in WordPress - Sacramento
Suzette Franck
Intro to Sass for WordPress Developers
Intro to Sass for WordPress Developers
Suzette Franck
Why less?
Why less?
Bunlong Van
Css home
Css home
AbhishekMondal42
CSS Basics - Stylesheets and Color
CSS Basics - Stylesheets and Color
Kelly Kellum
Less css
Less css
Bill Chea
快速开发Css
快速开发Css
tbmallf2e
Recommandé
Introduction to the Web and HTML
Introduction to the Web and HTML
SiddharthBorderwala
How to use CSS3 in WordPress - Sacramento
How to use CSS3 in WordPress - Sacramento
Suzette Franck
Intro to Sass for WordPress Developers
Intro to Sass for WordPress Developers
Suzette Franck
Why less?
Why less?
Bunlong Van
Css home
Css home
AbhishekMondal42
CSS Basics - Stylesheets and Color
CSS Basics - Stylesheets and Color
Kelly Kellum
Less css
Less css
Bill Chea
快速开发Css
快速开发Css
tbmallf2e
The Dark Arts of CSS
The Dark Arts of CSS
SiddharthBorderwala
How to use CSS3 in WordPress
How to use CSS3 in WordPress
Suzette Franck
How to dominate a free theme WCTO 2014
How to dominate a free theme WCTO 2014
James Strang
Html for beginners
Html for beginners
Florian Letsch
Modern Front-End Development
Modern Front-End Development
mwrather
DrupalTour. Vinnytsia — SASS and Drupal themes (Olexander Kuzava, InternetDev...
DrupalTour. Vinnytsia — SASS and Drupal themes (Olexander Kuzava, InternetDev...
Drupaltour
Java script tutorial
Java script tutorial
Son Nguyen
Sass: The Future of Stylesheets
Sass: The Future of Stylesheets
chriseppstein
Drupal 8 non standard cooking: REST API + Solr + Domains - Maksym Kuzmych & V...
Drupal 8 non standard cooking: REST API + Solr + Domains - Maksym Kuzmych & V...
DrupalCamp Kyiv
Lecture2 CSS1
Lecture2 CSS1
Sur College of Applied Sciences
Martin Splitt "A short history of the web"
Martin Splitt "A short history of the web"
Fwdays
Web 102 INtro to CSS
Web 102 INtro to CSS
Hawkman Academy
Angular 2 Component styles
Angular 2 Component styles
Ikhtiyor Kholikov
Basics of Front End Web Dev PowerPoint
Basics of Front End Web Dev PowerPoint
Sahil Gandhi
SASS - Syntactically Awesome Stylesheet
SASS - Syntactically Awesome Stylesheet
Neha Sharma
HTML/CSS Workshop @ Searchcamp
HTML/CSS Workshop @ Searchcamp
James Mills
Intro to SASS CSS
Intro to SASS CSS
Kianosh Pourian
Tools for Modern Web Design
Tools for Modern Web Design
Commercial Progression
Artdm171 Week4 Tags
Artdm171 Week4 Tags
Gilbert Guerrero
Css introduction
Css introduction
Nicha Jutasirivongse
Palestra pré processadores CSS
Palestra pré processadores CSS
Just Digital
CSS preprocessors for designers (CSS-On-Diet)
CSS preprocessors for designers (CSS-On-Diet)
Tomasz Wyderka
Contenu connexe
Tendances
The Dark Arts of CSS
The Dark Arts of CSS
SiddharthBorderwala
How to use CSS3 in WordPress
How to use CSS3 in WordPress
Suzette Franck
How to dominate a free theme WCTO 2014
How to dominate a free theme WCTO 2014
James Strang
Html for beginners
Html for beginners
Florian Letsch
Modern Front-End Development
Modern Front-End Development
mwrather
DrupalTour. Vinnytsia — SASS and Drupal themes (Olexander Kuzava, InternetDev...
DrupalTour. Vinnytsia — SASS and Drupal themes (Olexander Kuzava, InternetDev...
Drupaltour
Java script tutorial
Java script tutorial
Son Nguyen
Sass: The Future of Stylesheets
Sass: The Future of Stylesheets
chriseppstein
Drupal 8 non standard cooking: REST API + Solr + Domains - Maksym Kuzmych & V...
Drupal 8 non standard cooking: REST API + Solr + Domains - Maksym Kuzmych & V...
DrupalCamp Kyiv
Lecture2 CSS1
Lecture2 CSS1
Sur College of Applied Sciences
Martin Splitt "A short history of the web"
Martin Splitt "A short history of the web"
Fwdays
Web 102 INtro to CSS
Web 102 INtro to CSS
Hawkman Academy
Angular 2 Component styles
Angular 2 Component styles
Ikhtiyor Kholikov
Basics of Front End Web Dev PowerPoint
Basics of Front End Web Dev PowerPoint
Sahil Gandhi
SASS - Syntactically Awesome Stylesheet
SASS - Syntactically Awesome Stylesheet
Neha Sharma
HTML/CSS Workshop @ Searchcamp
HTML/CSS Workshop @ Searchcamp
James Mills
Intro to SASS CSS
Intro to SASS CSS
Kianosh Pourian
Tools for Modern Web Design
Tools for Modern Web Design
Commercial Progression
Artdm171 Week4 Tags
Artdm171 Week4 Tags
Gilbert Guerrero
Css introduction
Css introduction
Nicha Jutasirivongse
Tendances
(20)
The Dark Arts of CSS
The Dark Arts of CSS
How to use CSS3 in WordPress
How to use CSS3 in WordPress
How to dominate a free theme WCTO 2014
How to dominate a free theme WCTO 2014
Html for beginners
Html for beginners
Modern Front-End Development
Modern Front-End Development
DrupalTour. Vinnytsia — SASS and Drupal themes (Olexander Kuzava, InternetDev...
DrupalTour. Vinnytsia — SASS and Drupal themes (Olexander Kuzava, InternetDev...
Java script tutorial
Java script tutorial
Sass: The Future of Stylesheets
Sass: The Future of Stylesheets
Drupal 8 non standard cooking: REST API + Solr + Domains - Maksym Kuzmych & V...
Drupal 8 non standard cooking: REST API + Solr + Domains - Maksym Kuzmych & V...
Lecture2 CSS1
Lecture2 CSS1
Martin Splitt "A short history of the web"
Martin Splitt "A short history of the web"
Web 102 INtro to CSS
Web 102 INtro to CSS
Angular 2 Component styles
Angular 2 Component styles
Basics of Front End Web Dev PowerPoint
Basics of Front End Web Dev PowerPoint
SASS - Syntactically Awesome Stylesheet
SASS - Syntactically Awesome Stylesheet
HTML/CSS Workshop @ Searchcamp
HTML/CSS Workshop @ Searchcamp
Intro to SASS CSS
Intro to SASS CSS
Tools for Modern Web Design
Tools for Modern Web Design
Artdm171 Week4 Tags
Artdm171 Week4 Tags
Css introduction
Css introduction
En vedette
Palestra pré processadores CSS
Palestra pré processadores CSS
Just Digital
CSS preprocessors for designers (CSS-On-Diet)
CSS preprocessors for designers (CSS-On-Diet)
Tomasz Wyderka
An Empirical Study on the Use of CSS Preprocessors
An Empirical Study on the Use of CSS Preprocessors
Nikolaos Tsantalis
Css Preprocessors
Css Preprocessors
Saulo Oliveira
Priprep2 xml
Priprep2 xml
Adji Arwinda Setyawarman
Migrating cascading style sheets to preprocessors
Migrating cascading style sheets to preprocessors
Nikolaos Tsantalis
LESS vs. SASS
LESS vs. SASS
Austin Pickett
Building SaaS Enabled Applications
Building SaaS Enabled Applications
Movate
Spoof text
Spoof text
graceyehshiang
Sass Why for the CSS Guy
Sass Why for the CSS Guy
Beau Smith
Building the Media Block in ReactJS
Building the Media Block in ReactJS
Nicole Sullivan
What is Object Oriented CSS?
What is Object Oriented CSS?
Nicole Sullivan
LESS, the CSS Preprocessor
LESS, the CSS Preprocessor
Andrea Tarr
Using a CSS Framework
Using a CSS Framework
Gareth Saunders
CSS Power Tools
CSS Power Tools
Nicole Sullivan
Efficient, maintainable CSS
Efficient, maintainable CSS
Russ Weakley
How Cascading Style Sheets (CSS) Works
How Cascading Style Sheets (CSS) Works
Amit Tyagi
Object Oriented CSS
Object Oriented CSS
Nicole Sullivan
Getting Started with CSS
Getting Started with CSS
Nicole Ryan
ePub 3, HTML 5 & CSS 3 (+ Fixed-Layout)
ePub 3, HTML 5 & CSS 3 (+ Fixed-Layout)
Clément Wehrung
En vedette
(20)
Palestra pré processadores CSS
Palestra pré processadores CSS
CSS preprocessors for designers (CSS-On-Diet)
CSS preprocessors for designers (CSS-On-Diet)
An Empirical Study on the Use of CSS Preprocessors
An Empirical Study on the Use of CSS Preprocessors
Css Preprocessors
Css Preprocessors
Priprep2 xml
Priprep2 xml
Migrating cascading style sheets to preprocessors
Migrating cascading style sheets to preprocessors
LESS vs. SASS
LESS vs. SASS
Building SaaS Enabled Applications
Building SaaS Enabled Applications
Spoof text
Spoof text
Sass Why for the CSS Guy
Sass Why for the CSS Guy
Building the Media Block in ReactJS
Building the Media Block in ReactJS
What is Object Oriented CSS?
What is Object Oriented CSS?
LESS, the CSS Preprocessor
LESS, the CSS Preprocessor
Using a CSS Framework
Using a CSS Framework
CSS Power Tools
CSS Power Tools
Efficient, maintainable CSS
Efficient, maintainable CSS
How Cascading Style Sheets (CSS) Works
How Cascading Style Sheets (CSS) Works
Object Oriented CSS
Object Oriented CSS
Getting Started with CSS
Getting Started with CSS
ePub 3, HTML 5 & CSS 3 (+ Fixed-Layout)
ePub 3, HTML 5 & CSS 3 (+ Fixed-Layout)
Similaire à Css Preprocessors
Structuring your CSS for maintainability: rules and guile lines to write CSS
Structuring your CSS for maintainability: rules and guile lines to write CSS
Sanjoy Kr. Paul
Create SASSy web parts in SPFx
Create SASSy web parts in SPFx
Stefan Bauer
[Bauer] SASSy web parts with SPFX
[Bauer] SASSy web parts with SPFX
European Collaboration Summit
INTRODUCTIONS OF CSS
INTRODUCTIONS OF CSS
SURYANARAYANBISWAL1
SASS is more than LESS
SASS is more than LESS
Itai Koren
LESS CSS
LESS CSS
Mathi Rajalingam
CSS Extenders
CSS Extenders
Idan Gazit
CSS3
CSS3
Chathuranga Jayanath
SCSS Implementation
SCSS Implementation
Amey Parab
CSS Methodology
CSS Methodology
Zohar Arad
Create SASSY Web Parts - SPSMilan
Create SASSY Web Parts - SPSMilan
Stefan Bauer
UNIT 3.ppt
UNIT 3.ppt
kavi806657
Styling your projects! leveraging css and r sass in r projects
Styling your projects! leveraging css and r sass in r projects
Appsilon Data Science
Class
Class
Daniel Downs
Class
Class
Daniel Downs
Css border examples
Css border examples
💾 Radek Fabisiak
Internet tech & web prog. p4,5
Internet tech & web prog. p4,5
Taymoor Nazmy
Do more with {less}
Do more with {less}
Jesper Wøldiche
Doing More with LESS for CSS
Doing More with LESS for CSS
Todd Anglin
Fasten RWD Development with Sass
Fasten RWD Development with Sass
Sven Wolfermann
Similaire à Css Preprocessors
(20)
Structuring your CSS for maintainability: rules and guile lines to write CSS
Structuring your CSS for maintainability: rules and guile lines to write CSS
Create SASSy web parts in SPFx
Create SASSy web parts in SPFx
[Bauer] SASSy web parts with SPFX
[Bauer] SASSy web parts with SPFX
INTRODUCTIONS OF CSS
INTRODUCTIONS OF CSS
SASS is more than LESS
SASS is more than LESS
LESS CSS
LESS CSS
CSS Extenders
CSS Extenders
CSS3
CSS3
SCSS Implementation
SCSS Implementation
CSS Methodology
CSS Methodology
Create SASSY Web Parts - SPSMilan
Create SASSY Web Parts - SPSMilan
UNIT 3.ppt
UNIT 3.ppt
Styling your projects! leveraging css and r sass in r projects
Styling your projects! leveraging css and r sass in r projects
Class
Class
Class
Class
Css border examples
Css border examples
Internet tech & web prog. p4,5
Internet tech & web prog. p4,5
Do more with {less}
Do more with {less}
Doing More with LESS for CSS
Doing More with LESS for CSS
Fasten RWD Development with Sass
Fasten RWD Development with Sass
Dernier
QCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architectures
Bernd Ruecker
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
panagenda
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a reality
IES VE
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Alkin Tezuysal
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
Pixlogix Infotech
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Mark Goldstein
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
Nicole Novielli
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
Farhan Tariq
React Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App Framework
Pixlogix Infotech
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
BookNet Canada
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
Wes McKinney
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
LoriGlavin3
Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)
Kaya Weers
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
panagenda
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
LoriGlavin3
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
LoriGlavin3
Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
itnewsafrica
Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024
TopCSSGallery
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdf
Neo4j
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
LoriGlavin3
Dernier
(20)
QCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architectures
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a reality
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
React Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App Framework
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdf
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
Css Preprocessors
1.
CSS Preprocessors
2.
Ed Moore twitter: @_edmoore gplus:
+EdMoore github: eddiemoore
3.
CSS is Awesome
4.
Single Element
5.
FIRE
6.
CSS SUCKS
7.
8.
CSS3 not consistant
across browsers Modularisation sucks Hard to stay DRY No Variables*
9.
Vendor Prefixes ‐webkit‐whatever: something ‐moz‐whatever: something ‐o‐whatever: something ‐ms‐whatever: something whatever: something
10.
11.
Enter CSS Preprocessors
12.
13.
14.
Any valid CSS
file is a valid SASS/LESS/Stylus file
15.
Variables
16.
SASS $primaryColor: #BADA55; a { color: $primaryColor; }
17.
LESS @primaryColor: #BADA55; a { color: @primaryColor; }
18.
Stylus primaryColor = #BADA55 a color: primaryColor
19.
Nesting
20.
.module { width: 500px; a { color: red; } ul { li { display: inline‐block; a { color: pink; } } } }
21.
.module { width: 500px; } .module a { color: red; } .module ul li { display: inline‐block; } .module ul li a { color: pink; }
22.
Avoid inception
23.
Only go 3
levels deep
24.
BAD #mything .module .something ul li a { ... }
25.
Partials
26.
Break up your
styles @import 'base/reset'; @import 'base/typography'; @import 'layout/grid'; ...
27.
Functions
28.
@mixin box‐shadow($top, $left, $blur, $color) { ‐webkit‐box‐shadow: $top $left $blur $color; ‐moz‐box‐shadow: $top $left $blur $color; box‐shadow: $top $left $blur $color; } div { @include box‐shadow(2px, 2px, 5px, rgba(0,0,0,0.3)); }
29.
div { ‐webkit‐box‐shadow: 2px 2px 5px rgba(0,0,0,0.3); ‐moz‐box‐shadow: 2px 2px 5px rgba(0,0,0,0.3); box‐shadow: 2px 2px 5px rgba(0,0,0,0.3); }
30.
Maths Operations
31.
.col‐1‐2 { width: (100% / 2); } .col‐1‐3 { width: (100% / 3); } .col‐2‐3 { width: (100% / 3) * 2; }
32.
.col‐1‐2 { width: 50%; } .col‐1‐3 { width: 33.33333%; } .col‐2‐3 { width: 66.66667%; }
33.
Extending / Inheritance
34.
.foo { color: red; } .bar { @extend .foo; }
35.
.foo, .bar { color: red; }
36.
Referencing Parent Selectors
37.
a { color: red; &;:hover { color: pink; } }
38.
a { color: red; } a:hover { color: pink; }
39.
a { color: red; .module &; { color: green; } }
40.
a { color: red; } .module a { color: green; }
41.
Colour Functions
42.
button { background: #000; &;:hover { color: lighten(#000, 20%); } }
43.
button { background: #000; } button:hover { background: #333333; }
44.
Loops
45.
$total‐columns: 6; $col‐widths: (); @for $i from 1 through $total‐columns { @for $j from 1 through $i { $w: ($j/$i); @if index($col‐widths, $w) == false { .col‐#{$j}‐#{$i} { width: $w * 100%; } $col‐widths: append($col‐widths, $w, comma); } } }
46.
.col‐1‐1 { width: 100%; } .col‐1‐2 { width: 50%; } .col‐1‐3 { width: 33.33333%; } .col‐2‐3 { width: 66.66667%; } .col‐1‐4 { width: 25%; } .col‐3‐4 { width: 75%; } .col‐1‐5 { width: 20%; } .col‐2‐5 { width: 40%; } .col‐3‐5 { width: 60%; } .col‐4‐5 { width: 80%; } .col‐1‐6 { width: 16.66667%; } .col‐5‐6 { width: 83.33333%; }
47.
Utilities
48.
Sass Compass Susy
49.
Stylus Nib
50.
Less Less Hat
51.
How the *!@$
do I turn all that into CSS?!?
52.
Embrace the command
line
53.
54.
Tools
55.
LiveReload
56.
CodeKit (OSX only)
57.
Compass.app
58.
Scout
59.
Prepros
60.
Koala
61.
Less.app (OSX only)
62.
Crunch! (Less)
63.
64.
Future
65.
CSS Variables :root { ‐‐main‐bg‐color: brown; } .one { background‐color: var(‐‐main‐bg‐color); } Note: The
custom property prefix was var- in the earlier spec, but later changed to --. Firefox 31 and above follow the new spec. Mozilla Can I Use
66.
Myth CSS the way
it was imagined. Myth.io
67.
68.
Ed Moore twitter: @_edmoore gplus:
+EdMoore github: eddiemoore slides: http://bit.ly/1gQqRoe
Télécharger maintenant