SlideShare uma empresa Scribd logo
1 de 110
The Ever-Expanding Interwebz
   or “why you need to try guacamole”
The guacamole mystery
The guacamole mystery

 •   It wasn’t until I actually tried guacamole that I realized I
     loved the stuff.
The guacamole mystery

 •   It wasn’t until I actually tried guacamole that I realized I
     loved the stuff.

 •   The point is, the internet community introduces a new thing
     every week, maybe every day.
The guacamole mystery

 •   It wasn’t until I actually tried guacamole that I realized I
     loved the stuff.

 •   The point is, the internet community introduces a new thing
     every week, maybe every day.

 •   Trying new methods in our craft is vital.
The guacamole mystery

 •   It wasn’t until I actually tried guacamole that I realized I
     loved the stuff.

 •   The point is, the internet community introduces a new thing
     every week, maybe every day.

 •   Trying new methods in our craft is vital.

     •   We stay ahead of the curve
The guacamole mystery

 •   It wasn’t until I actually tried guacamole that I realized I
     loved the stuff.

 •   The point is, the internet community introduces a new thing
     every week, maybe every day.

 •   Trying new methods in our craft is vital.

     •   We stay ahead of the curve

     •   We could save time
The guacamole mystery

 •   It wasn’t until I actually tried guacamole that I realized I
     loved the stuff.

 •   The point is, the internet community introduces a new thing
     every week, maybe every day.

 •   Trying new methods in our craft is vital.

     •   We stay ahead of the curve

     •   We could save time

     •   Worst case scenario: method doesn’t
         work and we move on to something else
The guacamole mystery

 •   It wasn’t until I actually tried guacamole that I realized I
     loved the stuff.

 •   The point is, the internet community introduces a new thing
     every week, maybe every day.

 •   Trying new methods in our craft is vital.

     •   We stay ahead of the curve

     •   We could save time

     •   Worst case scenario: method doesn’t
         work and we move on to something else

     •   It’s just plain fun!
What is Sass?
What is Sass?
It’s just plain ol’ CSS
On ‘ROIDS!
Seriously though. Sass...
Seriously though. Sass...

 •   Is an extension of CSS to utilize the DRY principle. (Don’t
     repeat yourself)
Seriously though. Sass...

 •   Is an extension of CSS to utilize the DRY principle. (Don’t
     repeat yourself)

     •   Repeating yourself makes more work for you and makes
         the site load slower. That makes clients, users, and us sad.
Seriously though. Sass...

 •   Is an extension of CSS to utilize the DRY principle. (Don’t
     repeat yourself)

     •   Repeating yourself makes more work for you and makes
         the site load slower. That makes clients, users, and us sad.

 •   Is compiled on-the-fly through the command line or
     through a GUI application.
Seriously though. Sass...

 •   Is an extension of CSS to utilize the DRY principle. (Don’t
     repeat yourself)

     •   Repeating yourself makes more work for you and makes
         the site load slower. That makes clients, users, and us sad.

 •   Is compiled on-the-fly through the command line or
     through a GUI application.

 •   Most importantly, has room for growth and allows us to
     make better websites much faster.
Okay, cool. What’s different?
Okay, cool. What’s different?

 •   You don’t need to change anything you know about CSS.
     You can use the same syntax and be on your merry way.
Okay, cool. What’s different?

 •   You don’t need to change anything you know about CSS.
     You can use the same syntax and be on your merry way.

 •   On-the-fly minification. Let the compiler do the work for
     you and minify your code.
Okay, cool. What’s different?

 •   You don’t need to change anything you know about CSS.
     You can use the same syntax and be on your merry way.

 •   On-the-fly minification. Let the compiler do the work for
     you and minify your code.

 •   The compiler has numerous configuration settings to make
     your CSS hotter than flapjacks.
Okay, cool. What’s different?

 •   You don’t need to change anything you know about CSS.
     You can use the same syntax and be on your merry way.

 •   On-the-fly minification. Let the compiler do the work for
     you and minify your code.

 •   The compiler has numerous configuration settings to make
     your CSS hotter than flapjacks.

 •   New features like variables, nestings, mixins, selector
     inheritance, and color modification.
Variables
Variables


            Change it once and for all.

$mainColor: #FF6600;       h1 {
                           color: #FF6600;
h1 {                       }
color: $mainColor;
}
Variables


            Change it once and for all.

$mainColor: #FFCC00;       h1 {
                           color: #FFCC00;
h1 {                       }
color: $mainColor;
}
Variables
Variables


            Mathematics, good sir!

h1 {                    h1 {
margin: (16px / 2);     margin: 8px;
width: (200px * 4);     width: 800px;
}                       }
Variables
Variables


        Combine you crazy developer, you!

$wrapper: 960px;          h1 {
                          margin: 8px;
h1 {                      width: 480px;
margin: (16px / 2);       }
width: $wrapper / 2;
}
Nesting
Nesting


          #stop .doing .this #stuff > .okay?

.sidebar {                  .sidebar {
width: 500px;               width: 500px;
  h1 {                      }
  color: blue;              .sidebar h1 {
  }                         color: blue;
}                           }
Nesting
Nesting



             Don’t go overboard, though.
   Your styles should NOT be location dependent.
Nesting



             Don’t go overboard, though.
   Your styles should NOT be location dependent.

           Use wisely and with intention.
Mixins
Mixins


               Recycle, reduce, and argue?

@mixin rounded($radius) {      .box {
-moz-border-radius: $radius;   -moz-border-radius: 10px;
border-radius: $radius;        border-radius: 10px;
}                              }

.box {
@include rounded(10px);
}
Mixins




         Arguments are great to keep your CSS
              from repeating yourself.
Selector Inheritance
Selector Inheritance


     Inherit other properties without duplication

.message {                  .message, .error {
border-width: 1px;          border-width: 1px;
border-style: solid;        border-style: solid;
}                           }
.error {
@extend .message;           .error {
color: red;                 color: red;
}                           }
Colors
Colors


            The prism meets the english teacher

h1 {                                h1 {
background: lighten(#CC0, 25%);     background: #ffff4d;
color: darken(#FFCC00, 10%);        color: #cca300;
}                                   }

h2 {                                h2 {
background: desaturate(red, 15%);   background: #ec1313;
color: saturate(#855, 20%);         color: #9e3f3f;
}                                   }
Colors
Colors
         Many, many more like:
Colors
         Many, many more like:

                  hue
Colors
         Many, many more like:

                  hue
                 invert
Colors
         Many, many more like:

                  hue
                 invert
              complement
Colors
         Many, many more like:

                  hue
                 invert
              complement
               grayscale
Colors
         Many, many more like:

                  hue
                 invert
              complement
               grayscale
                 alpha
Colors
         Many, many more like:

                  hue
                 invert
              complement
               grayscale
                 alpha
                opacify?
Colors
         Many, many more like:

                  hue
                 invert
              complement
               grayscale
                 alpha
                opacify?
            transparentize?!
Other Sass-y Things (Couldn’t help myself)
Other Sass-y Things (Couldn’t help myself)

 •   Sass commenting that isn’t compiled
Other Sass-y Things (Couldn’t help myself)

 •   Sass commenting that isn’t compiled

     •   // This won’t show up.
Other Sass-y Things (Couldn’t help myself)

 •   Sass commenting that isn’t compiled

     •   // This won’t show up.

     •   /* This will */
Other Sass-y Things (Couldn’t help myself)

 •   Sass commenting that isn’t compiled

     •   // This won’t show up.

     •   /* This will */

 •   Round numbers up or down. Because why not?
Other Sass-y Things (Couldn’t help myself)

 •   Sass commenting that isn’t compiled

     •   // This won’t show up.

     •   /* This will */

 •   Round numbers up or down. Because why not?

 •   @imports that actually import the CSS without making
     another HTTP request.
Other Sass-y Things (Couldn’t help myself)

 •   Sass commenting that isn’t compiled

     •   // This won’t show up.

     •   /* This will */

 •   Round numbers up or down. Because why not?

 •   @imports that actually import the CSS without making
     another HTTP request.

     •   This means you can create “partials”.
Other Sass-y Things (Couldn’t help myself)

 •   Sass commenting that isn’t compiled

     •   // This won’t show up.

     •   /* This will */

 •   Round numbers up or down. Because why not?

 •   @imports that actually import the CSS without making
     another HTTP request.

     •   This means you can create “partials”.

 •   Numerous other features
Great! How do we use this thing?
Great! How do we use this thing?


 •   Your Sass sheets must be “watched” so they can be compiled
     so you can do this two ways.
Great! How do we use this thing?


 •   Your Sass sheets must be “watched” so they can be compiled
     so you can do this two ways.

     •   Command line. Not difficult, don’t be scared.
Great! How do we use this thing?


 •   Your Sass sheets must be “watched” so they can be compiled
     so you can do this two ways.

     •   Command line. Not difficult, don’t be scared.

     •   Menu bar application (Compass.app ~$7)
Great! How do we use this thing?


 •   Your Sass sheets must be “watched” so they can be compiled
     so you can do this two ways.

     •   Command line. Not difficult, don’t be scared.

     •   Menu bar application (Compass.app ~$7)

 •   More setup, but greater payoff. Don’t let new things scare
     you.
Great! How do we use this thing?


 •   Your Sass sheets must be “watched” so they can be compiled
     so you can do this two ways.

     •   Command line. Not difficult, don’t be scared.

     •   Menu bar application (Compass.app ~$7)

 •   More setup, but greater payoff. Don’t let new things scare
     you.

 •   Caveat: Can’t have some of the team editing
     .css docs on a project while the rest of the team
     edits .scss/.sass files. It’s all or nothing
When can we start using this?
When can we start using this?




               Today, silly!
When can we start using this?




               Today, silly!
          It just takes communication.
What is Compass?
What is Compass?
An open-source CSS authoring framework!
What is Compass?
An open-source CSS authoring framework!
        (Sass with more features)
Features of Compass
Features of Compass


 •   Sass targets CSS while Compass targets CSS/HTML
     workflow.
Features of Compass


 •   Sass targets CSS while Compass targets CSS/HTML
     workflow.

 •   Compass makes repetitive bits of information easier to
     repeat.
Features of Compass


 •   Sass targets CSS while Compass targets CSS/HTML
     workflow.

 •   Compass makes repetitive bits of information easier to
     repeat.

 •   Makes writing CSS3 easier and less pain-staking.
Quiz Time
Quiz Time
How many browser prefixes are there to
 create a linear background gradient?
4
5
6
7
4
5
6
7
Using CSS3
Using CSS3
background: -moz-linear-gradient(top, #FFF 0%, #000 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#FFF), color-
stop(100%,#000));
background: -webkit-linear-gradient(top, #FFF 0%,#000 100%);
background: -o-linear-gradient(top, #FFF 0%,#000 100%);
background: -ms-linear-gradient(top, #FFF 0%,#000 100%);
background: linear-gradient(top, #FFF 0%,#000 100%);
Using Compass
Using Compass
@import "compass";

.box {
@include background(linear-gradient(#FFF, #000));
}
background: -moz-linear-gradient(top, #FFF 0%, #000 100%);
background: -webkit-gradient(linear, left top, left bottom,
color-stop(0%,#FFF), color-stop(100%,#000));
background: -webkit-linear-gradient(top, #FFF 0%,#000 100%);
background: -o-linear-gradient(top, #FFF 0%,#000 100%);
background: -ms-linear-gradient(top, #FFF 0%,#000 100%);
background: linear-gradient(top, #FFF 0%,#000 100%);
background: -moz-linear-gradient(top, #FFF 0%, #000 100%);
background: -webkit-gradient(linear, left top, left bottom,
color-stop(0%,#FFF), color-stop(100%,#000));
background: -webkit-linear-gradient(top, #FFF 0%,#000 100%);
background: -o-linear-gradient(top, #FFF 0%,#000 100%);
background: -ms-linear-gradient(top, #FFF 0%,#000 100%);
background: linear-gradient(top, #FFF 0%,#000 100%);




                         ta-da!
Border Radius with CSS3
Border Radius with CSS3
      -moz-border-radius: 10px;
      -webkit-border-radius: 10px;
      -o-border-radius: 10px;
      -ms-border-radius: 10px;
      -khtml-border-radius: 10px;
      border-radius: 10px;
Using Compass
Using Compass
 @import "compass";

 .box {
 @include border-radius(10px);
 }
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
-o-border-radius: 10px;
-ms-border-radius: 10px;
-khtml-border-radius: 10px;
border-radius: 10px;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
-o-border-radius: 10px;
-ms-border-radius: 10px;
-khtml-border-radius: 10px;
border-radius: 10px;




         ta-da!
Other Compass Additions
Other Compass Additions




 •   @import “compass/reset” for Eric Meyer’s Reset
Other Compass Additions




 •   @import “compass/reset” for Eric Meyer’s Reset

 •   Can take multiple images, combine them into a sprite, and
     give you classes and coordinates for each one. Insane.
Other Compass Additions




 •   @import “compass/reset” for Eric Meyer’s Reset

 •   Can take multiple images, combine them into a sprite, and
     give you classes and coordinates for each one. Insane.

 •   Much, much more
We meet again, avocado
We meet again, avocado


 •   Technology is changing rapidly
We meet again, avocado


 •   Technology is changing rapidly

 •   We don’t have to use every new thing that hits the scenes,
     but we should be trying new things out.
We meet again, avocado


 •   Technology is changing rapidly

 •   We don’t have to use every new thing that hits the scenes,
     but we should be trying new things out.

 •   If it tastes delicious works out, great! If not, hey, we gave it a
     shot and we learned something new anyway.
We meet again, avocado


 •   Technology is changing rapidly

 •   We don’t have to use every new thing that hits the scenes,
     but we should be trying new things out.

 •   If it tastes delicious works out, great! If not, hey, we gave it a
     shot and we learned something new anyway.

 •   Try something new and make something happen.

Mais conteúdo relacionado

Mais procurados

Sass and compass workshop
Sass and compass workshopSass and compass workshop
Sass and compass workshopShaho Toofani
 
Red truck side view powerpoint ppt templates.
Red truck side view powerpoint ppt templates.Red truck side view powerpoint ppt templates.
Red truck side view powerpoint ppt templates.SlideTeam.net
 
Red truck side view powerpoint ppt slides.
Red truck side view powerpoint ppt slides.Red truck side view powerpoint ppt slides.
Red truck side view powerpoint ppt slides.SlideTeam.net
 
Red truck side view powerpoint presentation slides.
Red truck side view powerpoint presentation slides.Red truck side view powerpoint presentation slides.
Red truck side view powerpoint presentation slides.SlideTeam.net
 
Red truck side view powerpoint presentation templates.
Red truck side view powerpoint presentation templates.Red truck side view powerpoint presentation templates.
Red truck side view powerpoint presentation templates.SlideTeam.net
 
Short sale strategy list property lender homeowner powerpoint ppt templates.
Short sale strategy list property lender homeowner powerpoint ppt templates.Short sale strategy list property lender homeowner powerpoint ppt templates.
Short sale strategy list property lender homeowner powerpoint ppt templates.SlideTeam.net
 
Short sale strategy list property lender homeowner powerpoint ppt slides.
Short sale strategy list property lender homeowner powerpoint ppt slides.Short sale strategy list property lender homeowner powerpoint ppt slides.
Short sale strategy list property lender homeowner powerpoint ppt slides.SlideTeam.net
 
Short sale process list property lender homeowner powerpoint ppt templates.
Short sale process list property lender homeowner powerpoint ppt templates.Short sale process list property lender homeowner powerpoint ppt templates.
Short sale process list property lender homeowner powerpoint ppt templates.SlideTeam.net
 
Short sale process list property lender homeowner powerpoint presentation tem...
Short sale process list property lender homeowner powerpoint presentation tem...Short sale process list property lender homeowner powerpoint presentation tem...
Short sale process list property lender homeowner powerpoint presentation tem...SlideTeam.net
 
Short sale strategy list property lender homeowner powerpoint presentation sl...
Short sale strategy list property lender homeowner powerpoint presentation sl...Short sale strategy list property lender homeowner powerpoint presentation sl...
Short sale strategy list property lender homeowner powerpoint presentation sl...SlideTeam.net
 
Short sale process list property lender homeowner powerpoint presentation sli...
Short sale process list property lender homeowner powerpoint presentation sli...Short sale process list property lender homeowner powerpoint presentation sli...
Short sale process list property lender homeowner powerpoint presentation sli...SlideTeam.net
 
Short sale process list property lender homeowner powerpoint ppt slides.
Short sale process list property lender homeowner powerpoint ppt slides.Short sale process list property lender homeowner powerpoint ppt slides.
Short sale process list property lender homeowner powerpoint ppt slides.SlideTeam.net
 
CSS, SASS & Compass at WDCNZ
CSS, SASS & Compass at WDCNZCSS, SASS & Compass at WDCNZ
CSS, SASS & Compass at WDCNZjefweg
 
Green beetle car vehicle transportation side view powerpoint ppt slides.
Green beetle car vehicle transportation side view powerpoint ppt slides.Green beetle car vehicle transportation side view powerpoint ppt slides.
Green beetle car vehicle transportation side view powerpoint ppt slides.SlideTeam.net
 
Green beetle car vehicle transportation side view powerpoint ppt templates.
Green beetle car vehicle transportation side view powerpoint ppt templates.Green beetle car vehicle transportation side view powerpoint ppt templates.
Green beetle car vehicle transportation side view powerpoint ppt templates.SlideTeam.net
 
Green beetle car vehicle transportation side view powerpoint presentation tem...
Green beetle car vehicle transportation side view powerpoint presentation tem...Green beetle car vehicle transportation side view powerpoint presentation tem...
Green beetle car vehicle transportation side view powerpoint presentation tem...SlideTeam.net
 
Green beetle car vehicle transportation side view powerpoint presentation sli...
Green beetle car vehicle transportation side view powerpoint presentation sli...Green beetle car vehicle transportation side view powerpoint presentation sli...
Green beetle car vehicle transportation side view powerpoint presentation sli...SlideTeam.net
 
Blue truck side view powerpoint presentation slides.
Blue truck side view powerpoint presentation slides.Blue truck side view powerpoint presentation slides.
Blue truck side view powerpoint presentation slides.SlideTeam.net
 
Blue truck side view powerpoint presentation templates.
Blue truck side view powerpoint presentation templates.Blue truck side view powerpoint presentation templates.
Blue truck side view powerpoint presentation templates.SlideTeam.net
 
Blue truck side view powerpoint ppt slides.
Blue truck side view powerpoint ppt slides.Blue truck side view powerpoint ppt slides.
Blue truck side view powerpoint ppt slides.SlideTeam.net
 

Mais procurados (20)

Sass and compass workshop
Sass and compass workshopSass and compass workshop
Sass and compass workshop
 
Red truck side view powerpoint ppt templates.
Red truck side view powerpoint ppt templates.Red truck side view powerpoint ppt templates.
Red truck side view powerpoint ppt templates.
 
Red truck side view powerpoint ppt slides.
Red truck side view powerpoint ppt slides.Red truck side view powerpoint ppt slides.
Red truck side view powerpoint ppt slides.
 
Red truck side view powerpoint presentation slides.
Red truck side view powerpoint presentation slides.Red truck side view powerpoint presentation slides.
Red truck side view powerpoint presentation slides.
 
Red truck side view powerpoint presentation templates.
Red truck side view powerpoint presentation templates.Red truck side view powerpoint presentation templates.
Red truck side view powerpoint presentation templates.
 
Short sale strategy list property lender homeowner powerpoint ppt templates.
Short sale strategy list property lender homeowner powerpoint ppt templates.Short sale strategy list property lender homeowner powerpoint ppt templates.
Short sale strategy list property lender homeowner powerpoint ppt templates.
 
Short sale strategy list property lender homeowner powerpoint ppt slides.
Short sale strategy list property lender homeowner powerpoint ppt slides.Short sale strategy list property lender homeowner powerpoint ppt slides.
Short sale strategy list property lender homeowner powerpoint ppt slides.
 
Short sale process list property lender homeowner powerpoint ppt templates.
Short sale process list property lender homeowner powerpoint ppt templates.Short sale process list property lender homeowner powerpoint ppt templates.
Short sale process list property lender homeowner powerpoint ppt templates.
 
Short sale process list property lender homeowner powerpoint presentation tem...
Short sale process list property lender homeowner powerpoint presentation tem...Short sale process list property lender homeowner powerpoint presentation tem...
Short sale process list property lender homeowner powerpoint presentation tem...
 
Short sale strategy list property lender homeowner powerpoint presentation sl...
Short sale strategy list property lender homeowner powerpoint presentation sl...Short sale strategy list property lender homeowner powerpoint presentation sl...
Short sale strategy list property lender homeowner powerpoint presentation sl...
 
Short sale process list property lender homeowner powerpoint presentation sli...
Short sale process list property lender homeowner powerpoint presentation sli...Short sale process list property lender homeowner powerpoint presentation sli...
Short sale process list property lender homeowner powerpoint presentation sli...
 
Short sale process list property lender homeowner powerpoint ppt slides.
Short sale process list property lender homeowner powerpoint ppt slides.Short sale process list property lender homeowner powerpoint ppt slides.
Short sale process list property lender homeowner powerpoint ppt slides.
 
CSS, SASS & Compass at WDCNZ
CSS, SASS & Compass at WDCNZCSS, SASS & Compass at WDCNZ
CSS, SASS & Compass at WDCNZ
 
Green beetle car vehicle transportation side view powerpoint ppt slides.
Green beetle car vehicle transportation side view powerpoint ppt slides.Green beetle car vehicle transportation side view powerpoint ppt slides.
Green beetle car vehicle transportation side view powerpoint ppt slides.
 
Green beetle car vehicle transportation side view powerpoint ppt templates.
Green beetle car vehicle transportation side view powerpoint ppt templates.Green beetle car vehicle transportation side view powerpoint ppt templates.
Green beetle car vehicle transportation side view powerpoint ppt templates.
 
Green beetle car vehicle transportation side view powerpoint presentation tem...
Green beetle car vehicle transportation side view powerpoint presentation tem...Green beetle car vehicle transportation side view powerpoint presentation tem...
Green beetle car vehicle transportation side view powerpoint presentation tem...
 
Green beetle car vehicle transportation side view powerpoint presentation sli...
Green beetle car vehicle transportation side view powerpoint presentation sli...Green beetle car vehicle transportation side view powerpoint presentation sli...
Green beetle car vehicle transportation side view powerpoint presentation sli...
 
Blue truck side view powerpoint presentation slides.
Blue truck side view powerpoint presentation slides.Blue truck side view powerpoint presentation slides.
Blue truck side view powerpoint presentation slides.
 
Blue truck side view powerpoint presentation templates.
Blue truck side view powerpoint presentation templates.Blue truck side view powerpoint presentation templates.
Blue truck side view powerpoint presentation templates.
 
Blue truck side view powerpoint ppt slides.
Blue truck side view powerpoint ppt slides.Blue truck side view powerpoint ppt slides.
Blue truck side view powerpoint ppt slides.
 

Destaque

Ketupat sayur betawi
Ketupat sayur betawiKetupat sayur betawi
Ketupat sayur betawimenur101
 
Corinne Calcabrina_ My Social Resumè
Corinne Calcabrina_ My Social ResumèCorinne Calcabrina_ My Social Resumè
Corinne Calcabrina_ My Social ResumèCorinne Calcabrina
 
The movies based on true stories
The movies based on true storiesThe movies based on true stories
The movies based on true storiesJeongin
 
The movies based on true stories
The movies based on true storiesThe movies based on true stories
The movies based on true storiesJeongin
 

Destaque (6)

Ketupat sayur betawi
Ketupat sayur betawiKetupat sayur betawi
Ketupat sayur betawi
 
Corinne Calcabrina_ My Social Resumè
Corinne Calcabrina_ My Social ResumèCorinne Calcabrina_ My Social Resumè
Corinne Calcabrina_ My Social Resumè
 
The movies based on true stories
The movies based on true storiesThe movies based on true stories
The movies based on true stories
 
プリン革命
プリン革命プリン革命
プリン革命
 
The movies based on true stories
The movies based on true storiesThe movies based on true stories
The movies based on true stories
 
IMAGENES
IMAGENES IMAGENES
IMAGENES
 

Semelhante a BILL Hour: Try something new! (like Sass or Compass)

Advanced sass/compass
Advanced sass/compassAdvanced sass/compass
Advanced sass/compassNick Cooley
 
Mobile-first OOCSS, Sass & Compass at BBC Responsive News
Mobile-first OOCSS, Sass & Compass at BBC Responsive NewsMobile-first OOCSS, Sass & Compass at BBC Responsive News
Mobile-first OOCSS, Sass & Compass at BBC Responsive NewsKaelig Deloumeau-Prigent
 
DrupalCamp Chattanooga - September 2014 - Sass 101
DrupalCamp Chattanooga - September 2014 - Sass 101DrupalCamp Chattanooga - September 2014 - Sass 101
DrupalCamp Chattanooga - September 2014 - Sass 101Eric Sembrat
 
Front-end Tools: Sifting Through the Madness
Front-end Tools: Sifting Through the MadnessFront-end Tools: Sifting Through the Madness
Front-end Tools: Sifting Through the MadnessFITC
 
Front-end Tools: Sifting Through the Madness
 Front-end Tools: Sifting Through the Madness Front-end Tools: Sifting Through the Madness
Front-end Tools: Sifting Through the MadnessFITC
 
HTML5, CSS3, and other fancy buzzwords
HTML5, CSS3, and other fancy buzzwordsHTML5, CSS3, and other fancy buzzwords
HTML5, CSS3, and other fancy buzzwordsMo Jangda
 
With Great Power, a lecture on web typography
With Great Power, a lecture on web typographyWith Great Power, a lecture on web typography
With Great Power, a lecture on web typographyErika Tarte
 
Sass: The Future of Stylesheets
Sass: The Future of StylesheetsSass: The Future of Stylesheets
Sass: The Future of Stylesheetschriseppstein
 
What is-sass-by-lucas-castro
What is-sass-by-lucas-castroWhat is-sass-by-lucas-castro
What is-sass-by-lucas-castroLucas Castro
 
Bringing sexy back to CSS: SASS/SCSS, LESS and Compass
Bringing sexy back to CSS: SASS/SCSS, LESS and CompassBringing sexy back to CSS: SASS/SCSS, LESS and Compass
Bringing sexy back to CSS: SASS/SCSS, LESS and CompassClaudina Sarahe
 
Class 4 handout w css3 using j fiddle
Class 4 handout w css3 using j fiddleClass 4 handout w css3 using j fiddle
Class 4 handout w css3 using j fiddleErin M. Kidwell
 
Wrangling the CSS Beast with Sass
Wrangling the CSS Beast  with SassWrangling the CSS Beast  with Sass
Wrangling the CSS Beast with SassRob Friesel
 
Achieving Beautiful Typography in eBooks
Achieving Beautiful Typography in eBooksAchieving Beautiful Typography in eBooks
Achieving Beautiful Typography in eBooksdigitalbindery
 
Principles Of Web Design Workshop
Principles Of Web Design WorkshopPrinciples Of Web Design Workshop
Principles Of Web Design WorkshopGavin Elliott
 
Interactive Branding Web Type Tips.Key
Interactive Branding Web Type Tips.KeyInteractive Branding Web Type Tips.Key
Interactive Branding Web Type Tips.KeySara Cannon
 
Keep calm and let's play CSS3
Keep calm and let's play CSS3Keep calm and let's play CSS3
Keep calm and let's play CSS3A2 Comunicação
 
Web Typography Tips
Web Typography TipsWeb Typography Tips
Web Typography TipsSara Cannon
 
Software Engineering Thailand: Programming with Scala
Software Engineering Thailand: Programming with ScalaSoftware Engineering Thailand: Programming with Scala
Software Engineering Thailand: Programming with ScalaBrian Topping
 

Semelhante a BILL Hour: Try something new! (like Sass or Compass) (20)

Advanced sass/compass
Advanced sass/compassAdvanced sass/compass
Advanced sass/compass
 
Mobile-first OOCSS, Sass & Compass at BBC Responsive News
Mobile-first OOCSS, Sass & Compass at BBC Responsive NewsMobile-first OOCSS, Sass & Compass at BBC Responsive News
Mobile-first OOCSS, Sass & Compass at BBC Responsive News
 
DrupalCamp Chattanooga - September 2014 - Sass 101
DrupalCamp Chattanooga - September 2014 - Sass 101DrupalCamp Chattanooga - September 2014 - Sass 101
DrupalCamp Chattanooga - September 2014 - Sass 101
 
Front-end Tools: Sifting Through the Madness
Front-end Tools: Sifting Through the MadnessFront-end Tools: Sifting Through the Madness
Front-end Tools: Sifting Through the Madness
 
Front-end Tools: Sifting Through the Madness
 Front-end Tools: Sifting Through the Madness Front-end Tools: Sifting Through the Madness
Front-end Tools: Sifting Through the Madness
 
HTML5, CSS3, and other fancy buzzwords
HTML5, CSS3, and other fancy buzzwordsHTML5, CSS3, and other fancy buzzwords
HTML5, CSS3, and other fancy buzzwords
 
With Great Power, a lecture on web typography
With Great Power, a lecture on web typographyWith Great Power, a lecture on web typography
With Great Power, a lecture on web typography
 
Sass: The Future of Stylesheets
Sass: The Future of StylesheetsSass: The Future of Stylesheets
Sass: The Future of Stylesheets
 
Color Me Flexible
Color Me FlexibleColor Me Flexible
Color Me Flexible
 
CSS Extenders
CSS ExtendersCSS Extenders
CSS Extenders
 
What is-sass-by-lucas-castro
What is-sass-by-lucas-castroWhat is-sass-by-lucas-castro
What is-sass-by-lucas-castro
 
Bringing sexy back to CSS: SASS/SCSS, LESS and Compass
Bringing sexy back to CSS: SASS/SCSS, LESS and CompassBringing sexy back to CSS: SASS/SCSS, LESS and Compass
Bringing sexy back to CSS: SASS/SCSS, LESS and Compass
 
Class 4 handout w css3 using j fiddle
Class 4 handout w css3 using j fiddleClass 4 handout w css3 using j fiddle
Class 4 handout w css3 using j fiddle
 
Wrangling the CSS Beast with Sass
Wrangling the CSS Beast  with SassWrangling the CSS Beast  with Sass
Wrangling the CSS Beast with Sass
 
Achieving Beautiful Typography in eBooks
Achieving Beautiful Typography in eBooksAchieving Beautiful Typography in eBooks
Achieving Beautiful Typography in eBooks
 
Principles Of Web Design Workshop
Principles Of Web Design WorkshopPrinciples Of Web Design Workshop
Principles Of Web Design Workshop
 
Interactive Branding Web Type Tips.Key
Interactive Branding Web Type Tips.KeyInteractive Branding Web Type Tips.Key
Interactive Branding Web Type Tips.Key
 
Keep calm and let's play CSS3
Keep calm and let's play CSS3Keep calm and let's play CSS3
Keep calm and let's play CSS3
 
Web Typography Tips
Web Typography TipsWeb Typography Tips
Web Typography Tips
 
Software Engineering Thailand: Programming with Scala
Software Engineering Thailand: Programming with ScalaSoftware Engineering Thailand: Programming with Scala
Software Engineering Thailand: Programming with Scala
 

Último

办理卡尔顿大学毕业证成绩单|购买加拿大文凭证书
办理卡尔顿大学毕业证成绩单|购买加拿大文凭证书办理卡尔顿大学毕业证成绩单|购买加拿大文凭证书
办理卡尔顿大学毕业证成绩单|购买加拿大文凭证书zdzoqco
 
办理(UC毕业证书)查尔斯顿大学毕业证成绩单原版一比一
办理(UC毕业证书)查尔斯顿大学毕业证成绩单原版一比一办理(UC毕业证书)查尔斯顿大学毕业证成绩单原版一比一
办理(UC毕业证书)查尔斯顿大学毕业证成绩单原版一比一z xss
 
Abu Dhabi Call Girls O58993O4O2 Call Girls in Abu Dhabi`
Abu Dhabi Call Girls O58993O4O2 Call Girls in Abu Dhabi`Abu Dhabi Call Girls O58993O4O2 Call Girls in Abu Dhabi`
Abu Dhabi Call Girls O58993O4O2 Call Girls in Abu Dhabi`dajasot375
 
办理学位证(SFU证书)西蒙菲莎大学毕业证成绩单原版一比一
办理学位证(SFU证书)西蒙菲莎大学毕业证成绩单原版一比一办理学位证(SFU证书)西蒙菲莎大学毕业证成绩单原版一比一
办理学位证(SFU证书)西蒙菲莎大学毕业证成绩单原版一比一F dds
 
Untitled presedddddddddddddddddntation (1).pptx
Untitled presedddddddddddddddddntation (1).pptxUntitled presedddddddddddddddddntation (1).pptx
Untitled presedddddddddddddddddntation (1).pptxmapanig881
 
Pharmaceutical Packaging for the elderly.pdf
Pharmaceutical Packaging for the elderly.pdfPharmaceutical Packaging for the elderly.pdf
Pharmaceutical Packaging for the elderly.pdfAayushChavan5
 
ARt app | UX Case Study
ARt app | UX Case StudyARt app | UX Case Study
ARt app | UX Case StudySophia Viganò
 
8377877756 Full Enjoy @24/7 Call Girls in Nirman Vihar Delhi NCR
8377877756 Full Enjoy @24/7 Call Girls in Nirman Vihar Delhi NCR8377877756 Full Enjoy @24/7 Call Girls in Nirman Vihar Delhi NCR
8377877756 Full Enjoy @24/7 Call Girls in Nirman Vihar Delhi NCRdollysharma2066
 
原版美国亚利桑那州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
原版美国亚利桑那州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree原版美国亚利桑那州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
原版美国亚利桑那州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degreeyuu sss
 
Passbook project document_april_21__.pdf
Passbook project document_april_21__.pdfPassbook project document_april_21__.pdf
Passbook project document_april_21__.pdfvaibhavkanaujia
 
How to Be Famous in your Field just visit our Site
How to Be Famous in your Field just visit our SiteHow to Be Famous in your Field just visit our Site
How to Be Famous in your Field just visit our Sitegalleryaagency
 
Architecture case study India Habitat Centre, Delhi.pdf
Architecture case study India Habitat Centre, Delhi.pdfArchitecture case study India Habitat Centre, Delhi.pdf
Architecture case study India Habitat Centre, Delhi.pdfSumit Lathwal
 
Mookuthi is an artisanal nose ornament brand based in Madras.
Mookuthi is an artisanal nose ornament brand based in Madras.Mookuthi is an artisanal nose ornament brand based in Madras.
Mookuthi is an artisanal nose ornament brand based in Madras.Mookuthi
 
2024新版美国旧金山州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
2024新版美国旧金山州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree2024新版美国旧金山州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
2024新版美国旧金山州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degreeyuu sss
 
Call In girls Bhikaji Cama Place 🔝 ⇛8377877756 FULL Enjoy Delhi NCR
Call In girls Bhikaji Cama Place 🔝 ⇛8377877756 FULL Enjoy Delhi NCRCall In girls Bhikaji Cama Place 🔝 ⇛8377877756 FULL Enjoy Delhi NCR
Call In girls Bhikaji Cama Place 🔝 ⇛8377877756 FULL Enjoy Delhi NCRdollysharma2066
 
'CASE STUDY OF INDIRA PARYAVARAN BHAVAN DELHI ,
'CASE STUDY OF INDIRA PARYAVARAN BHAVAN DELHI ,'CASE STUDY OF INDIRA PARYAVARAN BHAVAN DELHI ,
'CASE STUDY OF INDIRA PARYAVARAN BHAVAN DELHI ,Aginakm1
 
How to Empower the future of UX Design with Gen AI
How to Empower the future of UX Design with Gen AIHow to Empower the future of UX Design with Gen AI
How to Empower the future of UX Design with Gen AIyuj
 
CREATING A POSITIVE SCHOOL CULTURE CHAPTER 10
CREATING A POSITIVE SCHOOL CULTURE CHAPTER 10CREATING A POSITIVE SCHOOL CULTURE CHAPTER 10
CREATING A POSITIVE SCHOOL CULTURE CHAPTER 10uasjlagroup
 
Call Girls in Ashok Nagar Delhi ✡️9711147426✡️ Escorts Service
Call Girls in Ashok Nagar Delhi ✡️9711147426✡️ Escorts ServiceCall Girls in Ashok Nagar Delhi ✡️9711147426✡️ Escorts Service
Call Girls in Ashok Nagar Delhi ✡️9711147426✡️ Escorts Servicejennyeacort
 
Top 10 Modern Web Design Trends for 2025
Top 10 Modern Web Design Trends for 2025Top 10 Modern Web Design Trends for 2025
Top 10 Modern Web Design Trends for 2025Rndexperts
 

Último (20)

办理卡尔顿大学毕业证成绩单|购买加拿大文凭证书
办理卡尔顿大学毕业证成绩单|购买加拿大文凭证书办理卡尔顿大学毕业证成绩单|购买加拿大文凭证书
办理卡尔顿大学毕业证成绩单|购买加拿大文凭证书
 
办理(UC毕业证书)查尔斯顿大学毕业证成绩单原版一比一
办理(UC毕业证书)查尔斯顿大学毕业证成绩单原版一比一办理(UC毕业证书)查尔斯顿大学毕业证成绩单原版一比一
办理(UC毕业证书)查尔斯顿大学毕业证成绩单原版一比一
 
Abu Dhabi Call Girls O58993O4O2 Call Girls in Abu Dhabi`
Abu Dhabi Call Girls O58993O4O2 Call Girls in Abu Dhabi`Abu Dhabi Call Girls O58993O4O2 Call Girls in Abu Dhabi`
Abu Dhabi Call Girls O58993O4O2 Call Girls in Abu Dhabi`
 
办理学位证(SFU证书)西蒙菲莎大学毕业证成绩单原版一比一
办理学位证(SFU证书)西蒙菲莎大学毕业证成绩单原版一比一办理学位证(SFU证书)西蒙菲莎大学毕业证成绩单原版一比一
办理学位证(SFU证书)西蒙菲莎大学毕业证成绩单原版一比一
 
Untitled presedddddddddddddddddntation (1).pptx
Untitled presedddddddddddddddddntation (1).pptxUntitled presedddddddddddddddddntation (1).pptx
Untitled presedddddddddddddddddntation (1).pptx
 
Pharmaceutical Packaging for the elderly.pdf
Pharmaceutical Packaging for the elderly.pdfPharmaceutical Packaging for the elderly.pdf
Pharmaceutical Packaging for the elderly.pdf
 
ARt app | UX Case Study
ARt app | UX Case StudyARt app | UX Case Study
ARt app | UX Case Study
 
8377877756 Full Enjoy @24/7 Call Girls in Nirman Vihar Delhi NCR
8377877756 Full Enjoy @24/7 Call Girls in Nirman Vihar Delhi NCR8377877756 Full Enjoy @24/7 Call Girls in Nirman Vihar Delhi NCR
8377877756 Full Enjoy @24/7 Call Girls in Nirman Vihar Delhi NCR
 
原版美国亚利桑那州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
原版美国亚利桑那州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree原版美国亚利桑那州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
原版美国亚利桑那州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
 
Passbook project document_april_21__.pdf
Passbook project document_april_21__.pdfPassbook project document_april_21__.pdf
Passbook project document_april_21__.pdf
 
How to Be Famous in your Field just visit our Site
How to Be Famous in your Field just visit our SiteHow to Be Famous in your Field just visit our Site
How to Be Famous in your Field just visit our Site
 
Architecture case study India Habitat Centre, Delhi.pdf
Architecture case study India Habitat Centre, Delhi.pdfArchitecture case study India Habitat Centre, Delhi.pdf
Architecture case study India Habitat Centre, Delhi.pdf
 
Mookuthi is an artisanal nose ornament brand based in Madras.
Mookuthi is an artisanal nose ornament brand based in Madras.Mookuthi is an artisanal nose ornament brand based in Madras.
Mookuthi is an artisanal nose ornament brand based in Madras.
 
2024新版美国旧金山州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
2024新版美国旧金山州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree2024新版美国旧金山州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
2024新版美国旧金山州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
 
Call In girls Bhikaji Cama Place 🔝 ⇛8377877756 FULL Enjoy Delhi NCR
Call In girls Bhikaji Cama Place 🔝 ⇛8377877756 FULL Enjoy Delhi NCRCall In girls Bhikaji Cama Place 🔝 ⇛8377877756 FULL Enjoy Delhi NCR
Call In girls Bhikaji Cama Place 🔝 ⇛8377877756 FULL Enjoy Delhi NCR
 
'CASE STUDY OF INDIRA PARYAVARAN BHAVAN DELHI ,
'CASE STUDY OF INDIRA PARYAVARAN BHAVAN DELHI ,'CASE STUDY OF INDIRA PARYAVARAN BHAVAN DELHI ,
'CASE STUDY OF INDIRA PARYAVARAN BHAVAN DELHI ,
 
How to Empower the future of UX Design with Gen AI
How to Empower the future of UX Design with Gen AIHow to Empower the future of UX Design with Gen AI
How to Empower the future of UX Design with Gen AI
 
CREATING A POSITIVE SCHOOL CULTURE CHAPTER 10
CREATING A POSITIVE SCHOOL CULTURE CHAPTER 10CREATING A POSITIVE SCHOOL CULTURE CHAPTER 10
CREATING A POSITIVE SCHOOL CULTURE CHAPTER 10
 
Call Girls in Ashok Nagar Delhi ✡️9711147426✡️ Escorts Service
Call Girls in Ashok Nagar Delhi ✡️9711147426✡️ Escorts ServiceCall Girls in Ashok Nagar Delhi ✡️9711147426✡️ Escorts Service
Call Girls in Ashok Nagar Delhi ✡️9711147426✡️ Escorts Service
 
Top 10 Modern Web Design Trends for 2025
Top 10 Modern Web Design Trends for 2025Top 10 Modern Web Design Trends for 2025
Top 10 Modern Web Design Trends for 2025
 

BILL Hour: Try something new! (like Sass or Compass)

  • 1. The Ever-Expanding Interwebz or “why you need to try guacamole”
  • 3. The guacamole mystery • It wasn’t until I actually tried guacamole that I realized I loved the stuff.
  • 4. The guacamole mystery • It wasn’t until I actually tried guacamole that I realized I loved the stuff. • The point is, the internet community introduces a new thing every week, maybe every day.
  • 5. The guacamole mystery • It wasn’t until I actually tried guacamole that I realized I loved the stuff. • The point is, the internet community introduces a new thing every week, maybe every day. • Trying new methods in our craft is vital.
  • 6. The guacamole mystery • It wasn’t until I actually tried guacamole that I realized I loved the stuff. • The point is, the internet community introduces a new thing every week, maybe every day. • Trying new methods in our craft is vital. • We stay ahead of the curve
  • 7. The guacamole mystery • It wasn’t until I actually tried guacamole that I realized I loved the stuff. • The point is, the internet community introduces a new thing every week, maybe every day. • Trying new methods in our craft is vital. • We stay ahead of the curve • We could save time
  • 8. The guacamole mystery • It wasn’t until I actually tried guacamole that I realized I loved the stuff. • The point is, the internet community introduces a new thing every week, maybe every day. • Trying new methods in our craft is vital. • We stay ahead of the curve • We could save time • Worst case scenario: method doesn’t work and we move on to something else
  • 9. The guacamole mystery • It wasn’t until I actually tried guacamole that I realized I loved the stuff. • The point is, the internet community introduces a new thing every week, maybe every day. • Trying new methods in our craft is vital. • We stay ahead of the curve • We could save time • Worst case scenario: method doesn’t work and we move on to something else • It’s just plain fun!
  • 10.
  • 12. What is Sass? It’s just plain ol’ CSS
  • 13.
  • 16. Seriously though. Sass... • Is an extension of CSS to utilize the DRY principle. (Don’t repeat yourself)
  • 17. Seriously though. Sass... • Is an extension of CSS to utilize the DRY principle. (Don’t repeat yourself) • Repeating yourself makes more work for you and makes the site load slower. That makes clients, users, and us sad.
  • 18. Seriously though. Sass... • Is an extension of CSS to utilize the DRY principle. (Don’t repeat yourself) • Repeating yourself makes more work for you and makes the site load slower. That makes clients, users, and us sad. • Is compiled on-the-fly through the command line or through a GUI application.
  • 19. Seriously though. Sass... • Is an extension of CSS to utilize the DRY principle. (Don’t repeat yourself) • Repeating yourself makes more work for you and makes the site load slower. That makes clients, users, and us sad. • Is compiled on-the-fly through the command line or through a GUI application. • Most importantly, has room for growth and allows us to make better websites much faster.
  • 20. Okay, cool. What’s different?
  • 21. Okay, cool. What’s different? • You don’t need to change anything you know about CSS. You can use the same syntax and be on your merry way.
  • 22. Okay, cool. What’s different? • You don’t need to change anything you know about CSS. You can use the same syntax and be on your merry way. • On-the-fly minification. Let the compiler do the work for you and minify your code.
  • 23. Okay, cool. What’s different? • You don’t need to change anything you know about CSS. You can use the same syntax and be on your merry way. • On-the-fly minification. Let the compiler do the work for you and minify your code. • The compiler has numerous configuration settings to make your CSS hotter than flapjacks.
  • 24. Okay, cool. What’s different? • You don’t need to change anything you know about CSS. You can use the same syntax and be on your merry way. • On-the-fly minification. Let the compiler do the work for you and minify your code. • The compiler has numerous configuration settings to make your CSS hotter than flapjacks. • New features like variables, nestings, mixins, selector inheritance, and color modification.
  • 26. Variables Change it once and for all. $mainColor: #FF6600; h1 { color: #FF6600; h1 { } color: $mainColor; }
  • 27. Variables Change it once and for all. $mainColor: #FFCC00; h1 { color: #FFCC00; h1 { } color: $mainColor; }
  • 29. Variables Mathematics, good sir! h1 { h1 { margin: (16px / 2); margin: 8px; width: (200px * 4); width: 800px; } }
  • 31. Variables Combine you crazy developer, you! $wrapper: 960px; h1 { margin: 8px; h1 { width: 480px; margin: (16px / 2); } width: $wrapper / 2; }
  • 33. Nesting #stop .doing .this #stuff > .okay? .sidebar { .sidebar { width: 500px; width: 500px; h1 { } color: blue; .sidebar h1 { } color: blue; } }
  • 35. Nesting Don’t go overboard, though. Your styles should NOT be location dependent.
  • 36. Nesting Don’t go overboard, though. Your styles should NOT be location dependent. Use wisely and with intention.
  • 38. Mixins Recycle, reduce, and argue? @mixin rounded($radius) { .box { -moz-border-radius: $radius; -moz-border-radius: 10px; border-radius: $radius; border-radius: 10px; } } .box { @include rounded(10px); }
  • 39. Mixins Arguments are great to keep your CSS from repeating yourself.
  • 41. Selector Inheritance Inherit other properties without duplication .message { .message, .error { border-width: 1px; border-width: 1px; border-style: solid; border-style: solid; } } .error { @extend .message; .error { color: red; color: red; } }
  • 43. Colors The prism meets the english teacher h1 { h1 { background: lighten(#CC0, 25%); background: #ffff4d; color: darken(#FFCC00, 10%); color: #cca300; } } h2 { h2 { background: desaturate(red, 15%); background: #ec1313; color: saturate(#855, 20%); color: #9e3f3f; } }
  • 45. Colors Many, many more like:
  • 46. Colors Many, many more like: hue
  • 47. Colors Many, many more like: hue invert
  • 48. Colors Many, many more like: hue invert complement
  • 49. Colors Many, many more like: hue invert complement grayscale
  • 50. Colors Many, many more like: hue invert complement grayscale alpha
  • 51. Colors Many, many more like: hue invert complement grayscale alpha opacify?
  • 52. Colors Many, many more like: hue invert complement grayscale alpha opacify? transparentize?!
  • 53. Other Sass-y Things (Couldn’t help myself)
  • 54. Other Sass-y Things (Couldn’t help myself) • Sass commenting that isn’t compiled
  • 55. Other Sass-y Things (Couldn’t help myself) • Sass commenting that isn’t compiled • // This won’t show up.
  • 56. Other Sass-y Things (Couldn’t help myself) • Sass commenting that isn’t compiled • // This won’t show up. • /* This will */
  • 57. Other Sass-y Things (Couldn’t help myself) • Sass commenting that isn’t compiled • // This won’t show up. • /* This will */ • Round numbers up or down. Because why not?
  • 58. Other Sass-y Things (Couldn’t help myself) • Sass commenting that isn’t compiled • // This won’t show up. • /* This will */ • Round numbers up or down. Because why not? • @imports that actually import the CSS without making another HTTP request.
  • 59. Other Sass-y Things (Couldn’t help myself) • Sass commenting that isn’t compiled • // This won’t show up. • /* This will */ • Round numbers up or down. Because why not? • @imports that actually import the CSS without making another HTTP request. • This means you can create “partials”.
  • 60. Other Sass-y Things (Couldn’t help myself) • Sass commenting that isn’t compiled • // This won’t show up. • /* This will */ • Round numbers up or down. Because why not? • @imports that actually import the CSS without making another HTTP request. • This means you can create “partials”. • Numerous other features
  • 61. Great! How do we use this thing?
  • 62. Great! How do we use this thing? • Your Sass sheets must be “watched” so they can be compiled so you can do this two ways.
  • 63. Great! How do we use this thing? • Your Sass sheets must be “watched” so they can be compiled so you can do this two ways. • Command line. Not difficult, don’t be scared.
  • 64. Great! How do we use this thing? • Your Sass sheets must be “watched” so they can be compiled so you can do this two ways. • Command line. Not difficult, don’t be scared. • Menu bar application (Compass.app ~$7)
  • 65. Great! How do we use this thing? • Your Sass sheets must be “watched” so they can be compiled so you can do this two ways. • Command line. Not difficult, don’t be scared. • Menu bar application (Compass.app ~$7) • More setup, but greater payoff. Don’t let new things scare you.
  • 66. Great! How do we use this thing? • Your Sass sheets must be “watched” so they can be compiled so you can do this two ways. • Command line. Not difficult, don’t be scared. • Menu bar application (Compass.app ~$7) • More setup, but greater payoff. Don’t let new things scare you. • Caveat: Can’t have some of the team editing .css docs on a project while the rest of the team edits .scss/.sass files. It’s all or nothing
  • 67. When can we start using this?
  • 68. When can we start using this? Today, silly!
  • 69. When can we start using this? Today, silly! It just takes communication.
  • 70.
  • 72. What is Compass? An open-source CSS authoring framework!
  • 73. What is Compass? An open-source CSS authoring framework! (Sass with more features)
  • 75. Features of Compass • Sass targets CSS while Compass targets CSS/HTML workflow.
  • 76. Features of Compass • Sass targets CSS while Compass targets CSS/HTML workflow. • Compass makes repetitive bits of information easier to repeat.
  • 77. Features of Compass • Sass targets CSS while Compass targets CSS/HTML workflow. • Compass makes repetitive bits of information easier to repeat. • Makes writing CSS3 easier and less pain-staking.
  • 78.
  • 80. Quiz Time How many browser prefixes are there to create a linear background gradient?
  • 81.
  • 84.
  • 86. Using CSS3 background: -moz-linear-gradient(top, #FFF 0%, #000 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#FFF), color- stop(100%,#000)); background: -webkit-linear-gradient(top, #FFF 0%,#000 100%); background: -o-linear-gradient(top, #FFF 0%,#000 100%); background: -ms-linear-gradient(top, #FFF 0%,#000 100%); background: linear-gradient(top, #FFF 0%,#000 100%);
  • 87.
  • 89. Using Compass @import "compass"; .box { @include background(linear-gradient(#FFF, #000)); }
  • 90.
  • 91. background: -moz-linear-gradient(top, #FFF 0%, #000 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#FFF), color-stop(100%,#000)); background: -webkit-linear-gradient(top, #FFF 0%,#000 100%); background: -o-linear-gradient(top, #FFF 0%,#000 100%); background: -ms-linear-gradient(top, #FFF 0%,#000 100%); background: linear-gradient(top, #FFF 0%,#000 100%);
  • 92. background: -moz-linear-gradient(top, #FFF 0%, #000 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#FFF), color-stop(100%,#000)); background: -webkit-linear-gradient(top, #FFF 0%,#000 100%); background: -o-linear-gradient(top, #FFF 0%,#000 100%); background: -ms-linear-gradient(top, #FFF 0%,#000 100%); background: linear-gradient(top, #FFF 0%,#000 100%); ta-da!
  • 93.
  • 95. Border Radius with CSS3 -moz-border-radius: 10px; -webkit-border-radius: 10px; -o-border-radius: 10px; -ms-border-radius: 10px; -khtml-border-radius: 10px; border-radius: 10px;
  • 96.
  • 98. Using Compass @import "compass"; .box { @include border-radius(10px); }
  • 99.
  • 100. -moz-border-radius: 10px; -webkit-border-radius: 10px; -o-border-radius: 10px; -ms-border-radius: 10px; -khtml-border-radius: 10px; border-radius: 10px;
  • 101. -moz-border-radius: 10px; -webkit-border-radius: 10px; -o-border-radius: 10px; -ms-border-radius: 10px; -khtml-border-radius: 10px; border-radius: 10px; ta-da!
  • 103. Other Compass Additions • @import “compass/reset” for Eric Meyer’s Reset
  • 104. Other Compass Additions • @import “compass/reset” for Eric Meyer’s Reset • Can take multiple images, combine them into a sprite, and give you classes and coordinates for each one. Insane.
  • 105. Other Compass Additions • @import “compass/reset” for Eric Meyer’s Reset • Can take multiple images, combine them into a sprite, and give you classes and coordinates for each one. Insane. • Much, much more
  • 106. We meet again, avocado
  • 107. We meet again, avocado • Technology is changing rapidly
  • 108. We meet again, avocado • Technology is changing rapidly • We don’t have to use every new thing that hits the scenes, but we should be trying new things out.
  • 109. We meet again, avocado • Technology is changing rapidly • We don’t have to use every new thing that hits the scenes, but we should be trying new things out. • If it tastes delicious works out, great! If not, hey, we gave it a shot and we learned something new anyway.
  • 110. We meet again, avocado • Technology is changing rapidly • We don’t have to use every new thing that hits the scenes, but we should be trying new things out. • If it tastes delicious works out, great! If not, hey, we gave it a shot and we learned something new anyway. • Try something new and make something happen.

Notas do Editor

  1. \n
  2. \n
  3. \n
  4. \n
  5. \n
  6. \n
  7. \n
  8. \n
  9. \n
  10. \n
  11. \n
  12. \n
  13. \n
  14. \n
  15. \n
  16. \n
  17. \n
  18. \n
  19. \n
  20. \n
  21. \n
  22. \n
  23. \n
  24. \n
  25. \n
  26. \n
  27. \n
  28. \n
  29. \n
  30. \n
  31. \n
  32. \n
  33. \n
  34. \n
  35. \n
  36. \n
  37. \n
  38. \n
  39. \n
  40. \n
  41. \n
  42. \n
  43. \n
  44. \n
  45. \n
  46. \n
  47. \n
  48. \n
  49. \n
  50. \n
  51. \n
  52. \n
  53. \n
  54. \n
  55. \n
  56. \n
  57. \n
  58. \n
  59. \n
  60. \n
  61. \n
  62. \n
  63. \n
  64. \n
  65. \n
  66. \n
  67. \n
  68. \n
  69. \n
  70. \n
  71. \n
  72. \n
  73. \n
  74. \n
  75. \n
  76. \n
  77. \n
  78. \n
  79. \n
  80. \n
  81. \n
  82. \n
  83. \n
  84. \n
  85. \n
  86. \n
  87. \n
  88. \n
  89. \n
  90. \n
  91. \n
  92. \n
  93. \n
  94. \n
  95. \n