SlideShare ist ein Scribd-Unternehmen logo
1 von 34
Downloaden Sie, um offline zu lesen
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

Weitere ähnliche Inhalte

Ähnlich wie 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
 

Ähnlich wie 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
 

Mehr von 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
 

Mehr von 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
 

Kürzlich hochgeladen

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
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
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
 
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
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
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
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfhans926745
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
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
 
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
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
[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
 
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
 
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
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 

Kürzlich hochgeladen (20)

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
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
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
 
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
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
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?
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
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
 
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)
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
[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
 
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...
 
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...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 

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