SlideShare uma empresa Scribd logo
1 de 34
Baixar para ler 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.
   !WORLD 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
.bordered {
                                mixins
    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 {
      #menu a {
                                              color: red;
          color: #111;
                                              border-top: dotted 1px black;
          .bordered;
                                              border-bottom: solid 2px black;
      }
                                          }
      .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

Mais conteúdo relacionado

Semelhante a Semantics, less and sarcasm

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
 
Getting Started with Sass & Compass
Getting Started with Sass & CompassGetting Started with Sass & Compass
Getting Started with Sass & CompassRob Davarnia
 
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
 
Finding your way with Sass+Compass
Finding your way with Sass+CompassFinding your way with Sass+Compass
Finding your way with Sass+Compassdrywallbmb
 
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
 
Doing More With Less
Doing More With LessDoing More With Less
Doing More With LessDavid Engel
 
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
 
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
 
UI Realigning & Refactoring by Jina Bolton
UI Realigning & Refactoring by Jina BoltonUI Realigning & Refactoring by Jina Bolton
UI Realigning & Refactoring by Jina BoltonCodemotion
 
Big Design Conference: CSS3
Big Design Conference: CSS3 Big Design Conference: CSS3
Big Design Conference: CSS3 Wynn Netherland
 
Sass - Making CSS fun again.
Sass - Making CSS fun again.Sass - Making CSS fun again.
Sass - Making CSS fun again.Gabriel Neutzling
 
CSS3: Ready for Primetime?
CSS3: Ready for Primetime?CSS3: Ready for Primetime?
CSS3: Ready for Primetime?Jeff Bridgforth
 
Sass and Compass - Getting Started
Sass and Compass - Getting StartedSass and Compass - Getting Started
Sass and Compass - Getting Startededgincvg
 
Rapid Prototyping
Rapid PrototypingRapid Prototyping
Rapid PrototypingEven Wu
 

Semelhante a Semantics, less and sarcasm (20)

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
 
Getting Started with Sass & Compass
Getting Started with Sass & CompassGetting Started with Sass & Compass
Getting Started with Sass & Compass
 
Preprocessor presentation
Preprocessor presentationPreprocessor presentation
Preprocessor presentation
 
CSS Extenders
CSS ExtendersCSS Extenders
CSS Extenders
 
Accelerated Stylesheets
Accelerated StylesheetsAccelerated Stylesheets
Accelerated Stylesheets
 
HTML5, CSS3, and other fancy buzzwords
HTML5, CSS3, and other fancy buzzwordsHTML5, CSS3, and other fancy buzzwords
HTML5, CSS3, and other fancy buzzwords
 
Finding your way with Sass+Compass
Finding your way with Sass+CompassFinding your way with Sass+Compass
Finding your way with Sass+Compass
 
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
 
Adapting to Your Users
Adapting to Your UsersAdapting to Your Users
Adapting to Your Users
 
Doing More With Less
Doing More With LessDoing More With Less
Doing More With Less
 
FCIP SASS Talk
FCIP SASS TalkFCIP SASS Talk
FCIP SASS Talk
 
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
 
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
 
UI Realigning & Refactoring by Jina Bolton
UI Realigning & Refactoring by Jina BoltonUI Realigning & Refactoring by Jina Bolton
UI Realigning & Refactoring by Jina Bolton
 
Big Design Conference: CSS3
Big Design Conference: CSS3 Big Design Conference: CSS3
Big Design Conference: CSS3
 
Sass - Making CSS fun again.
Sass - Making CSS fun again.Sass - Making CSS fun again.
Sass - Making CSS fun again.
 
CSS3: Ready for Primetime?
CSS3: Ready for Primetime?CSS3: Ready for Primetime?
CSS3: Ready for Primetime?
 
Sass and Compass - Getting Started
Sass and Compass - Getting StartedSass and Compass - Getting Started
Sass and Compass - Getting Started
 
Rapid Prototyping
Rapid PrototypingRapid Prototyping
Rapid Prototyping
 

Mais de 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
 

Mais de 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
 

Último

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
 
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
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
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
 
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
 
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
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
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
 
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
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
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
 
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
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
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
 
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
 
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
 

Último (20)

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
 
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
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
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
 
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
 
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
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
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
 
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
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
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
 
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
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
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
 
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
 
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...
 

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. !WORLD 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. .bordered { mixins 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 { #menu a { color: red; color: #111; border-top: dotted 1px black; .bordered; border-bottom: solid 2px black; } } .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