SlideShare a Scribd company logo
1 of 35
Download to read offline
LESS
  
Semantics,
LESS & Sarcasm
 :
  |   




                  VINCENT BASKERVILLE | VP of PRODUCT
wtf
is less?

      VINCENT BASKERVILLE | VP of PRODUCT
less     [less]
noun
1. stylesheet language that extends CSS with
dynamic behavior.

2. pure awesomeness.




                                    VINCENT BASKERVILLE | VP of PRODUCT
VINCENT BASKERVILLE | VP of PRODUCT
css still right?
@base: #f938ab;

.box-shadow(@style, @c) when (iscolor(@c)) {
  box-shadow:         @style @c;
  -webkit-box-shadow: @style @c;
  -moz-box-shadow:    @style @c;
}
.box-shadow(@style, @alpha: 50%) when (isnumber(@alpha)) {
  .box-shadow(@style, rgba(0, 0, 0, @alpha));
}
.box {
  color: saturate(@base, 5%);
  border-color: lighten(@base, 30%);
  div { .box-shadow(0 0 5px, 30%) }
}




                                                      VINCENT BASKERVILLE | VP of PRODUCT
se•man•tic                  [si-man-tik]
adjective
1. of, pertaining to, or arising from the different
meanings of words or other symbols: semantic
change; semantic confusion.

2. of or pertaining to semantics.



                                       VINCENT BASKERVILLE | VP of PRODUCT
div+id/class = no semantic value   HTML5 tags = rich semantic value




                                             VINCENT BASKERVILLE | VP of PRODUCT
the div ! span elements, in conjunction
 with the id ! class attributes, offer a
generic structure to documents. they
 define content to be inline or block"
       level but impose no other
presentational idioms on the content.
   3WORLD WIDE WEB CONSORTIUM



                            VINCENT BASKERVILLE | VP of PRODUCT
why you
should be
using less
       VINCENT BASKERVILLE | VP of PRODUCT
 
 
•    
  
•  
 
•     
• 
  

                             VINCENT BASKERVILLE | VP of PRODUCT
 
 
•    
  
•   
 
•    
 



                              VINCENT BASKERVILLE | VP of PRODUCT
browser prefixes
       .round_corners (@radius: 20px) {
         border-radius: @radius;
         -moz-border-radius: @radius;
         -webkit-border-radius: @radius;
       }




                     VINCENT BASKERVILLE | VP of PRODUCT
 
 
•  -
•
• 
• 



                           VINCENT BASKERVILLE | VP of PRODUCT
what’s
inside
     VINCENT BASKERVILLE | VP of PRODUCT
Variables
// LESS                 /* Compiled CSS */

@color: #4D926F;        #header {
                          color: #4D926F;
#header {               }
  color: @color;        h2 {
}                         color: #4D926F;
h2 {                    }
  color: @color;
}




                                    VINCENT BASKERVILLE | VP of PRODUCT
mixins
.bordered {
    border-top: dotted 1px black;
    border-bottom: solid 2px black;
                                          #menu a {
}
                                              color: #111;
                                              border-top: dotted 1px black;
                                              border-bottom: solid 2px black;

                  +                   =   }
                                          .post a {
                                              color: red;
      #menu a {
                                              border-top: dotted 1px black;
          color: #111;
                                              border-bottom: solid 2px black;
          .bordered;
                                          }
      }
      .post a {
          color: red;
          .bordered;
      }




                                                             VINCENT BASKERVILLE | VP of PRODUCT
nesting
#header {
  color: black;
  .navigation {
    font-size: 12px;
  }
  .logo {
    width: 300px;
    &:hover {
      text-decoration: none
    }
  }
} //#header




                              VINCENT BASKERVILLE | VP of PRODUCT
@arguments
.box-shadow (@x: 0, @y: 0, @blur: 1px, @color: #000) {
  box-shadow: @arguments;
  -moz-box-shadow: @arguments;
  -webkit-box-shadow: @arguments;
}
.box-shadow(2px, 5px);




                     .box-shadow {
                       box-shadow: 2px 5px 1px #000;
                       -moz-box-shadow: 2px 5px 1px #000;
                       -webkit-box-shadow: 2px 5px 1px #000;
                 }




                                                           VINCENT BASKERVILLE | VP of PRODUCT
operations
#page_title {
  font-size: @headerSize * .5;
  }
  .logo {
    width: @full_page / 2;
  }
} //#page_title




                                 VINCENT BASKERVILLE | VP of PRODUCT
eff sass &
  haml

       VINCENT BASKERVILLE | VP of PRODUCT
Sass, SCSS (sassy CSS)                    Haml




                         Haml takes your gross, ugly templates and
                                replaces them with veritable Haiku


                                     VINCENT BASKERVILLE | VP of PRODUCT
Sass          HAML




       VINCENT BASKERVILLE | VP of PRODUCT
Just say no




              VINCENT BASKERVILLE | VP of PRODUCT
why use
frameworks

       VINCENT BASKERVILLE | VP of PRODUCT

 ✓ 
 ✓ 
 ✓ 
 ✓  
 ✓ 


                        VINCENT BASKERVILLE | VP of PRODUCT

 - 
 - 
 - 
 - 
 - 


                       VINCENT BASKERVILLE | VP of PRODUCT
VINCENT BASKERVILLE | VP of PRODUCT
VINCENT BASKERVILLE | VP of PRODUCT
code
demo
   VINCENT BASKERVILLE | VP of PRODUCT
resources

      VINCENT BASKERVILLE | VP of PRODUCT
http://lesscss.org
http://incident57.com/less
http://www.initializr.com
- http://html5boilerplate.com
- http://twitter.github.com/bootstrap

                             VINCENT BASKERVILLE | VP OF PRODUCTION
oh yeah... sooo Scss *may* be
    better than less now.
 But Haml will forever suck.

                STAY
                CLASSY

                         VINCENT BASKERVILLE | VP of PRODUCT
AU REVOIR
    VINCE BASKERVILLE
          @WHOISVINCE
             VINCE@TRIPLINGO.COM
Designing
    Happiness
    the book
http://kck.st/happyux
               VINCENT BASKERVILLE | VP of PRODUCT

More Related Content

Similar to Semantics, LESS and Sarcasm

Preprocessor presentation
Preprocessor presentationPreprocessor presentation
Preprocessor presentationMario Noble
 
HTML5, CSS3, and other fancy buzzwords
HTML5, CSS3, and other fancy buzzwordsHTML5, CSS3, and other fancy buzzwords
HTML5, CSS3, and other fancy buzzwordsMo Jangda
 
Brian Hoke: WordCamp Toronto 2014 Presentation "Sass & WordPress"
Brian Hoke: WordCamp Toronto 2014 Presentation "Sass & WordPress"Brian Hoke: WordCamp Toronto 2014 Presentation "Sass & WordPress"
Brian Hoke: WordCamp Toronto 2014 Presentation "Sass & WordPress"bentleyhoke
 
Work and play with SASS & Compass
Work and play with SASS & CompassWork and play with SASS & Compass
Work and play with SASS & CompassAndreas Dantz
 
Finding your way with Sass+Compass
Finding your way with Sass+CompassFinding your way with Sass+Compass
Finding your way with Sass+Compassdrywallbmb
 
Doing More With Less
Doing More With LessDoing More With Less
Doing More With LessDavid Engel
 
UI Realigning & Refactoring by Jina Bolton
UI Realigning & Refactoring by Jina BoltonUI Realigning & Refactoring by Jina Bolton
UI Realigning & Refactoring by Jina BoltonCodemotion
 
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
 
Agile CSS development with Compass and Sass
Agile CSS development with Compass and SassAgile CSS development with Compass and Sass
Agile CSS development with Compass and SassAndrea Verlicchi
 
CSS3: Ready for Primetime?
CSS3: Ready for Primetime?CSS3: Ready for Primetime?
CSS3: Ready for Primetime?Jeff Bridgforth
 
CSS Less framework overview, Pros and Cons
CSS Less framework overview, Pros and ConsCSS Less framework overview, Pros and Cons
CSS Less framework overview, Pros and ConsSanjoy Kr. Paul
 
Big Design Conference: CSS3
Big Design Conference: CSS3 Big Design Conference: CSS3
Big Design Conference: CSS3 Wynn Netherland
 
Rapid Prototyping
Rapid PrototypingRapid Prototyping
Rapid PrototypingEven Wu
 
Sass - Making CSS fun again.
Sass - Making CSS fun again.Sass - Making CSS fun again.
Sass - Making CSS fun again.Gabriel Neutzling
 
Sass and Compass - Getting Started
Sass and Compass - Getting StartedSass and Compass - Getting Started
Sass and Compass - Getting Startededgincvg
 
Simplify your CSS with Stylus and Nib
Simplify your CSS with Stylus and NibSimplify your CSS with Stylus and Nib
Simplify your CSS with Stylus and NibChristian Joudrey
 

Similar to Semantics, LESS and Sarcasm (20)

CSS Extenders
CSS ExtendersCSS Extenders
CSS Extenders
 
Preprocessor presentation
Preprocessor presentationPreprocessor presentation
Preprocessor presentation
 
HTML5, CSS3, and other fancy buzzwords
HTML5, CSS3, and other fancy buzzwordsHTML5, CSS3, and other fancy buzzwords
HTML5, CSS3, and other fancy buzzwords
 
Accelerated Stylesheets
Accelerated StylesheetsAccelerated Stylesheets
Accelerated Stylesheets
 
Brian Hoke: WordCamp Toronto 2014 Presentation "Sass & WordPress"
Brian Hoke: WordCamp Toronto 2014 Presentation "Sass & WordPress"Brian Hoke: WordCamp Toronto 2014 Presentation "Sass & WordPress"
Brian Hoke: WordCamp Toronto 2014 Presentation "Sass & WordPress"
 
Work and play with SASS & Compass
Work and play with SASS & CompassWork and play with SASS & Compass
Work and play with SASS & Compass
 
Finding your way with Sass+Compass
Finding your way with Sass+CompassFinding your way with Sass+Compass
Finding your way with Sass+Compass
 
Doing More With Less
Doing More With LessDoing More With Less
Doing More With Less
 
Adapting to Your Users
Adapting to Your UsersAdapting to Your Users
Adapting to Your Users
 
UI Realigning & Refactoring by Jina Bolton
UI Realigning & Refactoring by Jina BoltonUI Realigning & Refactoring by Jina Bolton
UI Realigning & Refactoring by Jina Bolton
 
FCIP SASS Talk
FCIP SASS TalkFCIP SASS Talk
FCIP SASS Talk
 
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
 
Agile CSS development with Compass and Sass
Agile CSS development with Compass and SassAgile CSS development with Compass and Sass
Agile CSS development with Compass and Sass
 
CSS3: Ready for Primetime?
CSS3: Ready for Primetime?CSS3: Ready for Primetime?
CSS3: Ready for Primetime?
 
CSS Less framework overview, Pros and Cons
CSS Less framework overview, Pros and ConsCSS Less framework overview, Pros and Cons
CSS Less framework overview, Pros and Cons
 
Big Design Conference: CSS3
Big Design Conference: CSS3 Big Design Conference: CSS3
Big Design Conference: CSS3
 
Rapid Prototyping
Rapid PrototypingRapid Prototyping
Rapid Prototyping
 
Sass - Making CSS fun again.
Sass - Making CSS fun again.Sass - Making CSS fun again.
Sass - Making CSS fun again.
 
Sass and Compass - Getting Started
Sass and Compass - Getting StartedSass and Compass - Getting Started
Sass and Compass - Getting Started
 
Simplify your CSS with Stylus and Nib
Simplify your CSS with Stylus and NibSimplify your CSS with Stylus and Nib
Simplify your CSS with Stylus and Nib
 

More from Vincent Baskerville

Storytelling for product development
Storytelling for product developmentStorytelling for product development
Storytelling for product developmentVincent Baskerville
 
Execute a non-reactionary UX strategy
Execute a non-reactionary UX strategyExecute a non-reactionary UX strategy
Execute a non-reactionary UX strategyVincent Baskerville
 
Create + execute a non-reactionary UX strategy
Create + execute a non-reactionary UX strategyCreate + execute a non-reactionary UX strategy
Create + execute a non-reactionary UX strategyVincent Baskerville
 
Being a UX team of one: Understanding strengths & weaknesses
Being a UX team of one: Understanding strengths & weaknessesBeing a UX team of one: Understanding strengths & weaknesses
Being a UX team of one: Understanding strengths & weaknessesVincent Baskerville
 
Mobile UX Prototyping & Storytelling
Mobile UX Prototyping & StorytellingMobile UX Prototyping & Storytelling
Mobile UX Prototyping & StorytellingVincent Baskerville
 
Being a UX team of one: Understanding your strengths and weaknesses
Being a UX team of one: Understanding your strengths and weaknessesBeing a UX team of one: Understanding your strengths and weaknesses
Being a UX team of one: Understanding your strengths and weaknessesVincent Baskerville
 

More from Vincent Baskerville (19)

Storytelling for product development
Storytelling for product developmentStorytelling for product development
Storytelling for product development
 
Execute a non-reactionary UX strategy
Execute a non-reactionary UX strategyExecute a non-reactionary UX strategy
Execute a non-reactionary UX strategy
 
Mobile UX Design workshop
Mobile UX Design workshopMobile UX Design workshop
Mobile UX Design workshop
 
Introduction to LEAN UX
Introduction to LEAN UXIntroduction to LEAN UX
Introduction to LEAN UX
 
Wine & wireframes
Wine & wireframesWine & wireframes
Wine & wireframes
 
Create + execute a non-reactionary UX strategy
Create + execute a non-reactionary UX strategyCreate + execute a non-reactionary UX strategy
Create + execute a non-reactionary UX strategy
 
UXD lesson 1 - Intro To UX
UXD lesson 1 - Intro To UXUXD lesson 1 - Intro To UX
UXD lesson 1 - Intro To UX
 
Mobile, Metrics & Mayhem
Mobile, Metrics & MayhemMobile, Metrics & Mayhem
Mobile, Metrics & Mayhem
 
Designing happiness
Designing happinessDesigning happiness
Designing happiness
 
Mobile analytics
Mobile analyticsMobile analytics
Mobile analytics
 
Designing for engagement
Designing for engagementDesigning for engagement
Designing for engagement
 
Being a UX team of one: Understanding strengths & weaknesses
Being a UX team of one: Understanding strengths & weaknessesBeing a UX team of one: Understanding strengths & weaknesses
Being a UX team of one: Understanding strengths & weaknesses
 
Mobile UX Prototyping & Storytelling
Mobile UX Prototyping & StorytellingMobile UX Prototyping & Storytelling
Mobile UX Prototyping & Storytelling
 
Being a UX team of one: Understanding your strengths and weaknesses
Being a UX team of one: Understanding your strengths and weaknessesBeing a UX team of one: Understanding your strengths and weaknesses
Being a UX team of one: Understanding your strengths and weaknesses
 
Designing happiness
Designing happinessDesigning happiness
Designing happiness
 
Lean Usability Testing
Lean Usability TestingLean Usability Testing
Lean Usability Testing
 
Uxd codestrong
Uxd codestrongUxd codestrong
Uxd codestrong
 
Anarchist guide to titanium ui
Anarchist guide to titanium uiAnarchist guide to titanium ui
Anarchist guide to titanium ui
 
Productizing yourself
Productizing yourselfProductizing yourself
Productizing yourself
 

Recently uploaded

Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 

Recently uploaded (20)

Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 

Semantics, LESS and Sarcasm

  • 2. Semantics, LESS & Sarcasm  :   |    VINCENT BASKERVILLE | VP of PRODUCT
  • 3. wtf is less? VINCENT BASKERVILLE | VP of PRODUCT
  • 4. less [less] noun 1. stylesheet language that extends CSS with dynamic behavior. 2. pure awesomeness. VINCENT BASKERVILLE | VP of PRODUCT
  • 5. VINCENT BASKERVILLE | VP of PRODUCT
  • 6. css still right? @base: #f938ab; .box-shadow(@style, @c) when (iscolor(@c)) { box-shadow: @style @c; -webkit-box-shadow: @style @c; -moz-box-shadow: @style @c; } .box-shadow(@style, @alpha: 50%) when (isnumber(@alpha)) { .box-shadow(@style, rgba(0, 0, 0, @alpha)); } .box { color: saturate(@base, 5%); border-color: lighten(@base, 30%); div { .box-shadow(0 0 5px, 30%) } } VINCENT BASKERVILLE | VP of PRODUCT
  • 7. se•man•tic [si-man-tik] adjective 1. of, pertaining to, or arising from the different meanings of words or other symbols: semantic change; semantic confusion. 2. of or pertaining to semantics. VINCENT BASKERVILLE | VP of PRODUCT
  • 8. div+id/class = no semantic value HTML5 tags = rich semantic value VINCENT BASKERVILLE | VP of PRODUCT
  • 9. the div ! span elements, in conjunction with the id ! class attributes, offer a generic structure to documents. they define content to be inline or block" level but impose no other presentational idioms on the content. 3WORLD WIDE WEB CONSORTIUM VINCENT BASKERVILLE | VP of PRODUCT
  • 10. why you should be using less VINCENT BASKERVILLE | VP of PRODUCT
  • 11.     •       •    •      •    VINCENT BASKERVILLE | VP of PRODUCT
  • 12.     •       •     •      VINCENT BASKERVILLE | VP of PRODUCT
  • 13. browser prefixes .round_corners (@radius: 20px) { border-radius: @radius; -moz-border-radius: @radius; -webkit-border-radius: @radius; } VINCENT BASKERVILLE | VP of PRODUCT
  • 14.     •  - • •  •  VINCENT BASKERVILLE | VP of PRODUCT
  • 15. what’s inside VINCENT BASKERVILLE | VP of PRODUCT
  • 16. Variables // LESS /* Compiled CSS */ @color: #4D926F; #header { color: #4D926F; #header { } color: @color; h2 { } color: #4D926F; h2 { } color: @color; } VINCENT BASKERVILLE | VP of PRODUCT
  • 17. mixins .bordered { border-top: dotted 1px black; border-bottom: solid 2px black; #menu a { } color: #111; border-top: dotted 1px black; border-bottom: solid 2px black; + = } .post a { color: red; #menu a { border-top: dotted 1px black; color: #111; border-bottom: solid 2px black; .bordered; } } .post a { color: red; .bordered; } VINCENT BASKERVILLE | VP of PRODUCT
  • 18. nesting #header { color: black; .navigation { font-size: 12px; } .logo { width: 300px; &:hover { text-decoration: none } } } //#header VINCENT BASKERVILLE | VP of PRODUCT
  • 19. @arguments .box-shadow (@x: 0, @y: 0, @blur: 1px, @color: #000) { box-shadow: @arguments; -moz-box-shadow: @arguments; -webkit-box-shadow: @arguments; } .box-shadow(2px, 5px); .box-shadow { box-shadow: 2px 5px 1px #000; -moz-box-shadow: 2px 5px 1px #000; -webkit-box-shadow: 2px 5px 1px #000; } VINCENT BASKERVILLE | VP of PRODUCT
  • 20. operations #page_title { font-size: @headerSize * .5; } .logo { width: @full_page / 2; } } //#page_title VINCENT BASKERVILLE | VP of PRODUCT
  • 21. eff sass & haml VINCENT BASKERVILLE | VP of PRODUCT
  • 22. Sass, SCSS (sassy CSS) Haml Haml takes your gross, ugly templates and replaces them with veritable Haiku VINCENT BASKERVILLE | VP of PRODUCT
  • 23. Sass HAML VINCENT BASKERVILLE | VP of PRODUCT
  • 24. Just say no VINCENT BASKERVILLE | VP of PRODUCT
  • 25. why use frameworks VINCENT BASKERVILLE | VP of PRODUCT
  • 26.  ✓  ✓  ✓  ✓   ✓  VINCENT BASKERVILLE | VP of PRODUCT
  • 27.  -  -  -  -  -  VINCENT BASKERVILLE | VP of PRODUCT
  • 28. VINCENT BASKERVILLE | VP of PRODUCT
  • 29. VINCENT BASKERVILLE | VP of PRODUCT
  • 30. code demo VINCENT BASKERVILLE | VP of PRODUCT
  • 31. resources VINCENT BASKERVILLE | VP of PRODUCT
  • 33. oh yeah... sooo Scss *may* be better than less now. But Haml will forever suck. STAY CLASSY VINCENT BASKERVILLE | VP of PRODUCT
  • 34. AU REVOIR VINCE BASKERVILLE @WHOISVINCE VINCE@TRIPLINGO.COM
  • 35. Designing Happiness the book http://kck.st/happyux VINCENT BASKERVILLE | VP of PRODUCT

Editor's Notes

  1. \n
  2. \n
  3. \n
  4. \n
  5. \n
  6. \n
  7. \n
  8. \n
  9. div + span are semantically meaningless (aka neutral)\n
  10. \n
  11. \n
  12. \n
  13. \n
  14. \n
  15. \n
  16. Variables allow you to specify widely used values in a single place, and then re-use them throughout the style sheet, making global changes as easy as changing one line of code.v\n
  17. Mixins allow you to embed all the properties of a class into another class by simply including the class name as one of its properties. It’s just like variables, but for whole classes. Mixins can also behave like functions, and take arguments, as seen in the example bellow.\n
  18. Rather than constructing long selector names to specify inheritance, in Less you can simply nest selectors inside other selectors. This makes inheritance clear and style sheets shorter.\n
  19. Variables allow you to specify widely used values in a single place, and then re-use them throughout the style sheet, making global changes as easy as changing one line of code.v\n
  20. Rather than constructing long selector names to specify inheritance, in Less you can simply nest selectors inside other selectors. This makes inheritance clear and style sheets shorter.\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. scss doesn’t require ruby anymore, and you can run it alone like less.. and with extra stuff like conditionals & controls it’s getting better\n
  34. \n
  35. \n