SlideShare a Scribd company logo
1 of 47
Download to read offline
SASS & COMPASS
                           CSS with less STRESS




lunedì 5 novembre 2012
CSS can become messy



lunedì 5 novembre 2012
CSS can become messy

                            • Many site sections
                            • Many page sections
                            • Many devices
                            • Many screen resolutions
                            • Many colors, fonts, helpers, etc.



lunedì 5 novembre 2012
CSS can become messy


                             • Not a unique author
                             • Not a unique coding style


lunedì 5 novembre 2012
CSS can become looong



lunedì 5 novembre 2012
CSS can become looong

                          • we could split the code into more CSS files,
                            big, long authoring CSS files
                            but it would mean more HTTP requests

                          • not so easy you first look to someone else's code
                            expecially when
                                            to read and to manage




lunedì 5 novembre 2012
CSS can be repetitive



lunedì 5 novembre 2012
CSS can be repetitive


                         • Rules with same #id + different .class
                         • Rules with same font, same color in
                           different sections of the page




lunedì 5 novembre 2012
CSS is not a complete language



lunedì 5 novembre 2012
CSS is not a complete language

                          • No variables
                          • No extending
                          • No math
                          • Few functions (rgb, rgba, ...)

lunedì 5 novembre 2012
What if all this
                         could CHANGE?


lunedì 5 novembre 2012
What if we could use...
                             NESTING?


lunedì 5 novembre 2012
NESTING
                                        #header {

              #header li {                  li {
                margin-right: 1em;            margin-right: 1em;
              }                             }

              #header a {                   a {
                color: white;                color: white;
                background: red;             background: red;
                display: block;              display: block;
              }
                                                &:hover {
              #header a:hover {                   color: red;
                color: red;                       background: white;
                background: white;              }
              }                             }
                                        }


lunedì 5 novembre 2012
What if we could use...
                            VARIABLES?


lunedì 5 novembre 2012
VARIABLES
                                             $mainColor: #CE4DD6;

               button {                      button {
                  background: #CE4DD6;          background: $mainColor;
               }                             }

               a {                           a {
                  color: #CE4DD6;               color: $mainColor;
               }                             }

               header {                      header {
                  border-bottom: 3px;           border-bottom: 3px;
                  border-color: #CE4DD6;        border-color: $mainColor;
               }                             }


lunedì 5 novembre 2012
What if we could use...
                           FUNCTIONS?


lunedì 5 novembre 2012
FUNCTIONS
              button {                   button {
                background: #CE4DD6;       background: $mainColor;
              }                          }

              button:hover {             button:hover {
                background: #D76DDE;       background: saturate($mainColor, 10%);
              }                          }




lunedì 5 novembre 2012
What if we could do...
                           some MATH?


lunedì 5 novembre 2012
MATH
                                            $width: 960;

              #side {                       #side {
                width: 23.95833%;             width: 230 / $width;
                margin-right: 2.08333%;       margin-right: 20 / $width;
              }                             }

              #main {                       #main {
                width: 47.91667%;             width: 460 / $width;
                margin-right: 2.08333%;       margin-right: 20 / $width;
              }                             }

              #more {                       #more {
                width: 23.95833%;             width: 230 / $width;
              }                             }

lunedì 5 novembre 2012
What if we could use...
                              PARTIALS?


lunedì 5 novembre 2012
PARTIALS
                                “Could you please explain your strategy for building CSS?
                         How do you start and what does the structure of your style sheet look like?
                                            How do you structure your code?”




lunedì 5 novembre 2012
PARTIALS
                         @import "reset";    /* _reset.scss */
                         @import "mixins";   /* _mixins.scss */
                         @import "base";     /* _base.scss   */

                         @media only screen and (min-width: 481px) {
                         	 @import "481up"; /* _481up.scss */
                         }

                         @media only screen and (min-width: 768px) {
                         	 @import "grid";
                         	 @import "768up"; /* _768up.scss */
                         }

                         @media print {
                         	 @import "print"; /* _print.scss   */
                         }

lunedì 5 novembre 2012
lunedì 5 novembre 2012
SASS




                         Sass makes CSS fun again. Sass is an extension of CSS3, adding
                          nested rules, variables, mixins, selector inheritance, and more.

lunedì 5 novembre 2012
SASS 3 does all this
                          (and lots more)


lunedì 5 novembre 2012
It also allows to do more
                                powerful stuff
                            (if you love power & complexity)
                                 using Mixins

lunedì 5 novembre 2012
It also removes comments
                          we don't want to publish
                                  i.g. "fuck IE"


lunedì 5 novembre 2012
It also allows to choose the
                          output CSS style, including
                                   compressed


lunedì 5 novembre 2012
So why aren't we
                           using it (yet)?


lunedì 5 novembre 2012
Because it's hard to debug?



lunedì 5 novembre 2012
lunedì 5 novembre 2012
COMPASS




                         Compass is an open-source CSS Authoring Framework.
                                        Compass uses SASS.

lunedì 5 novembre 2012
COMPASS extends SASS +
                         gives you some interesting
                                  features


lunedì 5 novembre 2012
1. IT'S EASY TO DEBUG!



lunedì 5 novembre 2012
1. IT'S EASY TO DEBUG!



                                             Click on definition




lunedì 5 novembre 2012
1. IT'S EASY TO DEBUG!



                              Get the source file and line number




lunedì 5 novembre 2012
(claps)




lunedì 5 novembre 2012
2. IT'S LOADED WITH LOTS
                          OF HELPERS & PATTERNS


lunedì 5 novembre 2012
2. IT'S LOADED WITH LOTS
                          OF HELPERS & PATTERNS

                         CSS3,Typography, Utilities, Reset, Grids,
                            Clearfix, Sticky Footer, and more

lunedì 5 novembre 2012
3. IT MAKES VERY EASY TO
                             WORK with SPRITES


lunedì 5 novembre 2012
3. IT MAKES VERY EASY TO
                             WORK with SPRITES
                         You just add the images, it generates the
                          sprite + gives you a helper to use your
                                           images

lunedì 5 novembre 2012
demo



lunedì 5 novembre 2012
Resume

                         •Nesting
                         • Variables
                         • Functions
                         • Math
                         • Partials



lunedì 5 novembre 2012
Resume


                         •No more mess
                         • Shorter files
                         • No repetition (DRY)


lunedì 5 novembre 2012
Resume


                         •It's used worldwide by the best front-end developers
                         • It would technically advance our company
                         • It would empower your professional skills


lunedì 5 novembre 2012
discussion



lunedì 5 novembre 2012
That's all!
                         Thank you for your attention!




                         @verlok | www.andreaverlicchi.eu

lunedì 5 novembre 2012

More Related Content

Viewers also liked

Future of WordPress in Nashville 2013
Future of WordPress in Nashville 2013Future of WordPress in Nashville 2013
Future of WordPress in Nashville 2013John Housholder
 
Building Your First Widget
Building Your First WidgetBuilding Your First Widget
Building Your First WidgetChris Wilcoxson
 
Optimizing WordPress Performance
Optimizing WordPress PerformanceOptimizing WordPress Performance
Optimizing WordPress PerformanceDouglas Yuen
 
L’ascesa della geolocalizzazione. Perché mapperemo sempre di più e come lo fa...
L’ascesa della geolocalizzazione. Perché mapperemo sempre di più e come lo fa...L’ascesa della geolocalizzazione. Perché mapperemo sempre di più e come lo fa...
L’ascesa della geolocalizzazione. Perché mapperemo sempre di più e come lo fa...GGDBologna
 
WordCamp Rio de Janeiro 2016 - Vinícius Lourenço | Lojas Virtuais Descomplica...
WordCamp Rio de Janeiro 2016 - Vinícius Lourenço | Lojas Virtuais Descomplica...WordCamp Rio de Janeiro 2016 - Vinícius Lourenço | Lojas Virtuais Descomplica...
WordCamp Rio de Janeiro 2016 - Vinícius Lourenço | Lojas Virtuais Descomplica...Vinícius Lourenço
 
Quanto è sicuro il tuo wordpress?
Quanto è sicuro il tuo wordpress? Quanto è sicuro il tuo wordpress?
Quanto è sicuro il tuo wordpress? GGDBologna
 
Working Off Grid & Remote
Working Off Grid & RemoteWorking Off Grid & Remote
Working Off Grid & Remotetravistotz
 
Make WordPress Fit: The Cinderella Shoe Approach to Custom Theming
Make WordPress Fit: The Cinderella Shoe Approach to Custom ThemingMake WordPress Fit: The Cinderella Shoe Approach to Custom Theming
Make WordPress Fit: The Cinderella Shoe Approach to Custom ThemingIntrepidRealist
 
Less js-&-wp
Less js-&-wpLess js-&-wp
Less js-&-wprfair404
 
A Fantástica Fábrica de Websites - WordPress
A Fantástica Fábrica de Websites - WordPressA Fantástica Fábrica de Websites - WordPress
A Fantástica Fábrica de Websites - WordPressDaniel Glik
 
Word Press Starter Kit: Widget & Plugin
Word Press Starter Kit: Widget  & PluginWord Press Starter Kit: Widget  & Plugin
Word Press Starter Kit: Widget & PluginGGDBologna
 
Take the next step with git
Take the next step with gitTake the next step with git
Take the next step with gitKarin Taliga
 
Categories, Tags, Custom Post Types! Oh My!
Categories, Tags, Custom Post Types! Oh My!Categories, Tags, Custom Post Types! Oh My!
Categories, Tags, Custom Post Types! Oh My!sprclldr
 
Design and Development Techniques for Accessibility: WordCamp Tampa 2015
Design and Development Techniques for Accessibility: WordCamp Tampa 2015Design and Development Techniques for Accessibility: WordCamp Tampa 2015
Design and Development Techniques for Accessibility: WordCamp Tampa 2015Robert Jolly
 
Word Camp Philly 2014: Good Content
Word Camp Philly 2014: Good ContentWord Camp Philly 2014: Good Content
Word Camp Philly 2014: Good ContentVicki Boykis
 

Viewers also liked (17)

Future of WordPress in Nashville 2013
Future of WordPress in Nashville 2013Future of WordPress in Nashville 2013
Future of WordPress in Nashville 2013
 
Building Your First Widget
Building Your First WidgetBuilding Your First Widget
Building Your First Widget
 
Optimizing WordPress Performance
Optimizing WordPress PerformanceOptimizing WordPress Performance
Optimizing WordPress Performance
 
L’ascesa della geolocalizzazione. Perché mapperemo sempre di più e come lo fa...
L’ascesa della geolocalizzazione. Perché mapperemo sempre di più e come lo fa...L’ascesa della geolocalizzazione. Perché mapperemo sempre di più e come lo fa...
L’ascesa della geolocalizzazione. Perché mapperemo sempre di più e come lo fa...
 
WordCamp Rio de Janeiro 2016 - Vinícius Lourenço | Lojas Virtuais Descomplica...
WordCamp Rio de Janeiro 2016 - Vinícius Lourenço | Lojas Virtuais Descomplica...WordCamp Rio de Janeiro 2016 - Vinícius Lourenço | Lojas Virtuais Descomplica...
WordCamp Rio de Janeiro 2016 - Vinícius Lourenço | Lojas Virtuais Descomplica...
 
Quanto è sicuro il tuo wordpress?
Quanto è sicuro il tuo wordpress? Quanto è sicuro il tuo wordpress?
Quanto è sicuro il tuo wordpress?
 
Working Off Grid & Remote
Working Off Grid & RemoteWorking Off Grid & Remote
Working Off Grid & Remote
 
Make WordPress Fit: The Cinderella Shoe Approach to Custom Theming
Make WordPress Fit: The Cinderella Shoe Approach to Custom ThemingMake WordPress Fit: The Cinderella Shoe Approach to Custom Theming
Make WordPress Fit: The Cinderella Shoe Approach to Custom Theming
 
Less js-&-wp
Less js-&-wpLess js-&-wp
Less js-&-wp
 
A Fantástica Fábrica de Websites - WordPress
A Fantástica Fábrica de Websites - WordPressA Fantástica Fábrica de Websites - WordPress
A Fantástica Fábrica de Websites - WordPress
 
WordPress as a CMS
WordPress as a CMSWordPress as a CMS
WordPress as a CMS
 
Word Press Starter Kit: Widget & Plugin
Word Press Starter Kit: Widget  & PluginWord Press Starter Kit: Widget  & Plugin
Word Press Starter Kit: Widget & Plugin
 
WordCamp 2015
WordCamp 2015WordCamp 2015
WordCamp 2015
 
Take the next step with git
Take the next step with gitTake the next step with git
Take the next step with git
 
Categories, Tags, Custom Post Types! Oh My!
Categories, Tags, Custom Post Types! Oh My!Categories, Tags, Custom Post Types! Oh My!
Categories, Tags, Custom Post Types! Oh My!
 
Design and Development Techniques for Accessibility: WordCamp Tampa 2015
Design and Development Techniques for Accessibility: WordCamp Tampa 2015Design and Development Techniques for Accessibility: WordCamp Tampa 2015
Design and Development Techniques for Accessibility: WordCamp Tampa 2015
 
Word Camp Philly 2014: Good Content
Word Camp Philly 2014: Good ContentWord Camp Philly 2014: Good Content
Word Camp Philly 2014: Good Content
 

More from GGDBologna

Presentazione ggd bologna
Presentazione ggd bolognaPresentazione ggd bologna
Presentazione ggd bolognaGGDBologna
 
Creare un tema personalizzato per wordpress
Creare un tema personalizzato per wordpressCreare un tema personalizzato per wordpress
Creare un tema personalizzato per wordpressGGDBologna
 
Miglioriamo le performance di wordpress
Miglioriamo le performance di wordpress Miglioriamo le performance di wordpress
Miglioriamo le performance di wordpress GGDBologna
 
WordPress per giornalisti freelance
WordPress per giornalisti freelance  WordPress per giornalisti freelance
WordPress per giornalisti freelance GGDBologna
 
Responsività e integrazioni social: l’utente al centro nel nuovo sito Volvo TV
Responsività e integrazioni social: l’utente al centro nel nuovo sito Volvo TV Responsività e integrazioni social: l’utente al centro nel nuovo sito Volvo TV
Responsività e integrazioni social: l’utente al centro nel nuovo sito Volvo TV GGDBologna
 
L’uso di WordPress nella comunicazione corporate di Telecom Italia
L’uso di WordPress nella comunicazione corporate di Telecom Italia L’uso di WordPress nella comunicazione corporate di Telecom Italia
L’uso di WordPress nella comunicazione corporate di Telecom Italia GGDBologna
 
Un blog per la scuola Dozza: il progetto Dozzilla e i suoi protagonisti
Un blog per la scuola Dozza: il progetto Dozzilla e i suoi protagonisti Un blog per la scuola Dozza: il progetto Dozzilla e i suoi protagonisti
Un blog per la scuola Dozza: il progetto Dozzilla e i suoi protagonisti GGDBologna
 
Realizzare una intranet aziendale con wordpress
Realizzare una intranet aziendale con wordpressRealizzare una intranet aziendale con wordpress
Realizzare una intranet aziendale con wordpressGGDBologna
 
GeneralMobile Hybrid Development with WordPress
GeneralMobile Hybrid Development with WordPressGeneralMobile Hybrid Development with WordPress
GeneralMobile Hybrid Development with WordPressGGDBologna
 
Introducing the wpXtreme ecosystem
Introducing the wpXtreme ecosystemIntroducing the wpXtreme ecosystem
Introducing the wpXtreme ecosystemGGDBologna
 
Mba class 2012 2013-i.fischer
Mba class 2012 2013-i.fischerMba class 2012 2013-i.fischer
Mba class 2012 2013-i.fischerGGDBologna
 
Mba class 2012 2013-i.fischer
Mba class 2012 2013-i.fischerMba class 2012 2013-i.fischer
Mba class 2012 2013-i.fischerGGDBologna
 
Il mondo di twitter
Il mondo di twitterIl mondo di twitter
Il mondo di twitterGGDBologna
 
West women in stem
West women in stem West women in stem
West women in stem GGDBologna
 
GGDBologna: Presentazione
GGDBologna: PresentazioneGGDBologna: Presentazione
GGDBologna: PresentazioneGGDBologna
 
GGDBologna11: Flavia Marzano
GGDBologna11: Flavia MarzanoGGDBologna11: Flavia Marzano
GGDBologna11: Flavia MarzanoGGDBologna
 
GGDBologna11: Antonella Napolitano
GGDBologna11: Antonella NapolitanoGGDBologna11: Antonella Napolitano
GGDBologna11: Antonella NapolitanoGGDBologna
 
Organizzare un evento on-line e aver successo
Organizzare un evento on-line e aver successoOrganizzare un evento on-line e aver successo
Organizzare un evento on-line e aver successoGGDBologna
 
Francesca Minonne: GRAN TORINO 2.0
Francesca Minonne: GRAN TORINO 2.0Francesca Minonne: GRAN TORINO 2.0
Francesca Minonne: GRAN TORINO 2.0GGDBologna
 
Stefania Boleso e Monica Massola Riflessioni in corso: #donnexdonne, Rete e...
Stefania Boleso e Monica   Massola Riflessioni in corso: #donnexdonne, Rete e...Stefania Boleso e Monica   Massola Riflessioni in corso: #donnexdonne, Rete e...
Stefania Boleso e Monica Massola Riflessioni in corso: #donnexdonne, Rete e...GGDBologna
 

More from GGDBologna (20)

Presentazione ggd bologna
Presentazione ggd bolognaPresentazione ggd bologna
Presentazione ggd bologna
 
Creare un tema personalizzato per wordpress
Creare un tema personalizzato per wordpressCreare un tema personalizzato per wordpress
Creare un tema personalizzato per wordpress
 
Miglioriamo le performance di wordpress
Miglioriamo le performance di wordpress Miglioriamo le performance di wordpress
Miglioriamo le performance di wordpress
 
WordPress per giornalisti freelance
WordPress per giornalisti freelance  WordPress per giornalisti freelance
WordPress per giornalisti freelance
 
Responsività e integrazioni social: l’utente al centro nel nuovo sito Volvo TV
Responsività e integrazioni social: l’utente al centro nel nuovo sito Volvo TV Responsività e integrazioni social: l’utente al centro nel nuovo sito Volvo TV
Responsività e integrazioni social: l’utente al centro nel nuovo sito Volvo TV
 
L’uso di WordPress nella comunicazione corporate di Telecom Italia
L’uso di WordPress nella comunicazione corporate di Telecom Italia L’uso di WordPress nella comunicazione corporate di Telecom Italia
L’uso di WordPress nella comunicazione corporate di Telecom Italia
 
Un blog per la scuola Dozza: il progetto Dozzilla e i suoi protagonisti
Un blog per la scuola Dozza: il progetto Dozzilla e i suoi protagonisti Un blog per la scuola Dozza: il progetto Dozzilla e i suoi protagonisti
Un blog per la scuola Dozza: il progetto Dozzilla e i suoi protagonisti
 
Realizzare una intranet aziendale con wordpress
Realizzare una intranet aziendale con wordpressRealizzare una intranet aziendale con wordpress
Realizzare una intranet aziendale con wordpress
 
GeneralMobile Hybrid Development with WordPress
GeneralMobile Hybrid Development with WordPressGeneralMobile Hybrid Development with WordPress
GeneralMobile Hybrid Development with WordPress
 
Introducing the wpXtreme ecosystem
Introducing the wpXtreme ecosystemIntroducing the wpXtreme ecosystem
Introducing the wpXtreme ecosystem
 
Mba class 2012 2013-i.fischer
Mba class 2012 2013-i.fischerMba class 2012 2013-i.fischer
Mba class 2012 2013-i.fischer
 
Mba class 2012 2013-i.fischer
Mba class 2012 2013-i.fischerMba class 2012 2013-i.fischer
Mba class 2012 2013-i.fischer
 
Il mondo di twitter
Il mondo di twitterIl mondo di twitter
Il mondo di twitter
 
West women in stem
West women in stem West women in stem
West women in stem
 
GGDBologna: Presentazione
GGDBologna: PresentazioneGGDBologna: Presentazione
GGDBologna: Presentazione
 
GGDBologna11: Flavia Marzano
GGDBologna11: Flavia MarzanoGGDBologna11: Flavia Marzano
GGDBologna11: Flavia Marzano
 
GGDBologna11: Antonella Napolitano
GGDBologna11: Antonella NapolitanoGGDBologna11: Antonella Napolitano
GGDBologna11: Antonella Napolitano
 
Organizzare un evento on-line e aver successo
Organizzare un evento on-line e aver successoOrganizzare un evento on-line e aver successo
Organizzare un evento on-line e aver successo
 
Francesca Minonne: GRAN TORINO 2.0
Francesca Minonne: GRAN TORINO 2.0Francesca Minonne: GRAN TORINO 2.0
Francesca Minonne: GRAN TORINO 2.0
 
Stefania Boleso e Monica Massola Riflessioni in corso: #donnexdonne, Rete e...
Stefania Boleso e Monica   Massola Riflessioni in corso: #donnexdonne, Rete e...Stefania Boleso e Monica   Massola Riflessioni in corso: #donnexdonne, Rete e...
Stefania Boleso e Monica Massola Riflessioni in corso: #donnexdonne, Rete e...
 

Scrivere CSS agile con Compass/SASS + debug facile

  • 1. SASS & COMPASS CSS with less STRESS lunedì 5 novembre 2012
  • 2. CSS can become messy lunedì 5 novembre 2012
  • 3. CSS can become messy • Many site sections • Many page sections • Many devices • Many screen resolutions • Many colors, fonts, helpers, etc. lunedì 5 novembre 2012
  • 4. CSS can become messy • Not a unique author • Not a unique coding style lunedì 5 novembre 2012
  • 5. CSS can become looong lunedì 5 novembre 2012
  • 6. CSS can become looong • we could split the code into more CSS files, big, long authoring CSS files but it would mean more HTTP requests • not so easy you first look to someone else's code expecially when to read and to manage lunedì 5 novembre 2012
  • 7. CSS can be repetitive lunedì 5 novembre 2012
  • 8. CSS can be repetitive • Rules with same #id + different .class • Rules with same font, same color in different sections of the page lunedì 5 novembre 2012
  • 9. CSS is not a complete language lunedì 5 novembre 2012
  • 10. CSS is not a complete language • No variables • No extending • No math • Few functions (rgb, rgba, ...) lunedì 5 novembre 2012
  • 11. What if all this could CHANGE? lunedì 5 novembre 2012
  • 12. What if we could use... NESTING? lunedì 5 novembre 2012
  • 13. NESTING #header { #header li { li { margin-right: 1em; margin-right: 1em; } } #header a { a { color: white; color: white; background: red; background: red; display: block; display: block; } &:hover { #header a:hover { color: red; color: red; background: white; background: white; } } } } lunedì 5 novembre 2012
  • 14. What if we could use... VARIABLES? lunedì 5 novembre 2012
  • 15. VARIABLES $mainColor: #CE4DD6; button { button { background: #CE4DD6; background: $mainColor; } } a { a { color: #CE4DD6; color: $mainColor; } } header { header { border-bottom: 3px; border-bottom: 3px; border-color: #CE4DD6; border-color: $mainColor; } } lunedì 5 novembre 2012
  • 16. What if we could use... FUNCTIONS? lunedì 5 novembre 2012
  • 17. FUNCTIONS button { button { background: #CE4DD6; background: $mainColor; } } button:hover { button:hover { background: #D76DDE; background: saturate($mainColor, 10%); } } lunedì 5 novembre 2012
  • 18. What if we could do... some MATH? lunedì 5 novembre 2012
  • 19. MATH $width: 960; #side { #side { width: 23.95833%; width: 230 / $width; margin-right: 2.08333%; margin-right: 20 / $width; } } #main { #main { width: 47.91667%; width: 460 / $width; margin-right: 2.08333%; margin-right: 20 / $width; } } #more { #more { width: 23.95833%; width: 230 / $width; } } lunedì 5 novembre 2012
  • 20. What if we could use... PARTIALS? lunedì 5 novembre 2012
  • 21. PARTIALS “Could you please explain your strategy for building CSS? How do you start and what does the structure of your style sheet look like? How do you structure your code?” lunedì 5 novembre 2012
  • 22. PARTIALS @import "reset"; /* _reset.scss */ @import "mixins"; /* _mixins.scss */ @import "base"; /* _base.scss */ @media only screen and (min-width: 481px) { @import "481up"; /* _481up.scss */ } @media only screen and (min-width: 768px) { @import "grid"; @import "768up"; /* _768up.scss */ } @media print { @import "print"; /* _print.scss */ } lunedì 5 novembre 2012
  • 24. SASS Sass makes CSS fun again. Sass is an extension of CSS3, adding nested rules, variables, mixins, selector inheritance, and more. lunedì 5 novembre 2012
  • 25. SASS 3 does all this (and lots more) lunedì 5 novembre 2012
  • 26. It also allows to do more powerful stuff (if you love power & complexity) using Mixins lunedì 5 novembre 2012
  • 27. It also removes comments we don't want to publish i.g. "fuck IE" lunedì 5 novembre 2012
  • 28. It also allows to choose the output CSS style, including compressed lunedì 5 novembre 2012
  • 29. So why aren't we using it (yet)? lunedì 5 novembre 2012
  • 30. Because it's hard to debug? lunedì 5 novembre 2012
  • 32. COMPASS Compass is an open-source CSS Authoring Framework. Compass uses SASS. lunedì 5 novembre 2012
  • 33. COMPASS extends SASS + gives you some interesting features lunedì 5 novembre 2012
  • 34. 1. IT'S EASY TO DEBUG! lunedì 5 novembre 2012
  • 35. 1. IT'S EASY TO DEBUG! Click on definition lunedì 5 novembre 2012
  • 36. 1. IT'S EASY TO DEBUG! Get the source file and line number lunedì 5 novembre 2012
  • 38. 2. IT'S LOADED WITH LOTS OF HELPERS & PATTERNS lunedì 5 novembre 2012
  • 39. 2. IT'S LOADED WITH LOTS OF HELPERS & PATTERNS CSS3,Typography, Utilities, Reset, Grids, Clearfix, Sticky Footer, and more lunedì 5 novembre 2012
  • 40. 3. IT MAKES VERY EASY TO WORK with SPRITES lunedì 5 novembre 2012
  • 41. 3. IT MAKES VERY EASY TO WORK with SPRITES You just add the images, it generates the sprite + gives you a helper to use your images lunedì 5 novembre 2012
  • 43. Resume •Nesting • Variables • Functions • Math • Partials lunedì 5 novembre 2012
  • 44. Resume •No more mess • Shorter files • No repetition (DRY) lunedì 5 novembre 2012
  • 45. Resume •It's used worldwide by the best front-end developers • It would technically advance our company • It would empower your professional skills lunedì 5 novembre 2012
  • 47. That's all! Thank you for your attention! @verlok | www.andreaverlicchi.eu lunedì 5 novembre 2012