(Go: >> BACK << -|- >> HOME <<)

SlideShare a Scribd company logo
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

CSS Extenders
CSS ExtendersCSS Extenders
CSS Extenders
Idan Gazit
 
Preprocessor presentation
Preprocessor presentationPreprocessor presentation
Preprocessor presentation
Mario Noble
 
HTML5, CSS3, and other fancy buzzwords
HTML5, CSS3, and other fancy buzzwordsHTML5, CSS3, and other fancy buzzwords
HTML5, CSS3, and other fancy buzzwords
Mo Jangda
 
Accelerated Stylesheets
Accelerated StylesheetsAccelerated Stylesheets
Accelerated Stylesheets
Wynn Netherland
 
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 & Compass
Andreas Dantz
 
Finding your way with Sass+Compass
Finding your way with Sass+CompassFinding your way with Sass+Compass
Finding your way with Sass+Compass
drywallbmb
 
Doing More With Less
Doing More With LessDoing More With Less
Doing More With Less
David Engel
 
Adapting to Your Users
Adapting to Your UsersAdapting to Your Users
Adapting to Your Users
Vincent Baskerville
 
UI Realigning & Refactoring by Jina Bolton
UI Realigning & Refactoring by Jina BoltonUI Realigning & Refactoring by Jina Bolton
UI Realigning & Refactoring by Jina Bolton
Codemotion
 
FCIP SASS Talk
FCIP SASS TalkFCIP SASS Talk
FCIP SASS Talk
Chris Schneider
 
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
Erin 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 Sass
Andrea 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 Cons
Sanjoy 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 Prototyping
Even 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 Started
edgincvg
 
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
Christian 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 development
Vincent Baskerville
 
Execute a non-reactionary UX strategy
Execute a non-reactionary UX strategyExecute a non-reactionary UX strategy
Execute a non-reactionary UX strategy
Vincent Baskerville
 
Mobile UX Design workshop
Mobile UX Design workshopMobile UX Design workshop
Mobile UX Design workshop
Vincent Baskerville
 
Introduction to LEAN UX
Introduction to LEAN UXIntroduction to LEAN UX
Introduction to LEAN UX
Vincent Baskerville
 
Wine & wireframes
Wine & wireframesWine & wireframes
Wine & wireframes
Vincent 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 strategy
Vincent Baskerville
 
UXD lesson 1 - Intro To UX
UXD lesson 1 - Intro To UXUXD lesson 1 - Intro To UX
UXD lesson 1 - Intro To UX
Vincent Baskerville
 
Mobile, Metrics & Mayhem
Mobile, Metrics & MayhemMobile, Metrics & Mayhem
Mobile, Metrics & Mayhem
Vincent Baskerville
 
Designing happiness
Designing happinessDesigning happiness
Designing happiness
Vincent Baskerville
 
Mobile analytics
Mobile analyticsMobile analytics
Mobile analytics
Vincent Baskerville
 
Designing for engagement
Designing for engagementDesigning for engagement
Designing for engagement
Vincent 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 & weaknesses
Vincent Baskerville
 
Mobile UX Prototyping & Storytelling
Mobile UX Prototyping & StorytellingMobile UX Prototyping & Storytelling
Mobile UX Prototyping & Storytelling
Vincent 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 weaknesses
Vincent Baskerville
 
Designing happiness
Designing happinessDesigning happiness
Designing happiness
Vincent Baskerville
 
Lean Usability Testing
Lean Usability TestingLean Usability Testing
Lean Usability Testing
Vincent Baskerville
 
Uxd codestrong
Uxd codestrongUxd codestrong
Uxd codestrong
Vincent Baskerville
 
Anarchist guide to titanium ui
Anarchist guide to titanium uiAnarchist guide to titanium ui
Anarchist guide to titanium ui
Vincent Baskerville
 
Productizing yourself
Productizing yourselfProductizing yourself
Productizing yourself
Vincent 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

AC Atlassian Coimbatore Session Slides( 22/06/2024)
AC Atlassian Coimbatore Session Slides( 22/06/2024)AC Atlassian Coimbatore Session Slides( 22/06/2024)
AC Atlassian Coimbatore Session Slides( 22/06/2024)
apoorva2579
 
WhatsApp Image 2024-03-27 at 08.19.52_bfd93109.pdf
WhatsApp Image 2024-03-27 at 08.19.52_bfd93109.pdfWhatsApp Image 2024-03-27 at 08.19.52_bfd93109.pdf
WhatsApp Image 2024-03-27 at 08.19.52_bfd93109.pdf
ArgaBisma
 
Cookies program to display the information though cookie creation
Cookies program to display the information though cookie creationCookies program to display the information though cookie creation
Cookies program to display the information though cookie creation
shanthidl1
 
Scaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - Mydbops
Scaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - MydbopsScaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - Mydbops
Scaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - Mydbops
Mydbops
 
@Call @Girls Pune 0000000000 Riya Khan Beautiful Girl any Time
@Call @Girls Pune 0000000000 Riya Khan Beautiful Girl any Time@Call @Girls Pune 0000000000 Riya Khan Beautiful Girl any Time
@Call @Girls Pune 0000000000 Riya Khan Beautiful Girl any Time
amitchopra0215
 
一比一原版(msvu毕业证书)圣文森山大学毕业证如何办理
一比一原版(msvu毕业证书)圣文森山大学毕业证如何办理一比一原版(msvu毕业证书)圣文森山大学毕业证如何办理
一比一原版(msvu毕业证书)圣文森山大学毕业证如何办理
uuuot
 
Running a Go App in Kubernetes: CPU Impacts
Running a Go App in Kubernetes: CPU ImpactsRunning a Go App in Kubernetes: CPU Impacts
Running a Go App in Kubernetes: CPU Impacts
ScyllaDB
 
Verti - EMEA Insurer Innovation Award 2024
Verti - EMEA Insurer Innovation Award 2024Verti - EMEA Insurer Innovation Award 2024
Verti - EMEA Insurer Innovation Award 2024
The Digital Insurer
 
Fluttercon 2024: Showing that you care about security - OpenSSF Scorecards fo...
Fluttercon 2024: Showing that you care about security - OpenSSF Scorecards fo...Fluttercon 2024: Showing that you care about security - OpenSSF Scorecards fo...
Fluttercon 2024: Showing that you care about security - OpenSSF Scorecards fo...
Chris Swan
 
GDG Cloud Southlake #34: Neatsun Ziv: Automating Appsec
GDG Cloud Southlake #34: Neatsun Ziv: Automating AppsecGDG Cloud Southlake #34: Neatsun Ziv: Automating Appsec
GDG Cloud Southlake #34: Neatsun Ziv: Automating Appsec
James Anderson
 
What’s New in Teams Calling, Meetings and Devices May 2024
What’s New in Teams Calling, Meetings and Devices May 2024What’s New in Teams Calling, Meetings and Devices May 2024
What’s New in Teams Calling, Meetings and Devices May 2024
Stephanie Beckett
 
Paradigm Shifts in User Modeling: A Journey from Historical Foundations to Em...
Paradigm Shifts in User Modeling: A Journey from Historical Foundations to Em...Paradigm Shifts in User Modeling: A Journey from Historical Foundations to Em...
Paradigm Shifts in User Modeling: A Journey from Historical Foundations to Em...
Erasmo Purificato
 
STKI Israeli Market Study 2024 final v1
STKI Israeli Market Study 2024 final  v1STKI Israeli Market Study 2024 final  v1
STKI Israeli Market Study 2024 final v1
Dr. Jimmy Schwarzkopf
 
AI_dev Europe 2024 - From OpenAI to Opensource AI
AI_dev Europe 2024 - From OpenAI to Opensource AIAI_dev Europe 2024 - From OpenAI to Opensource AI
AI_dev Europe 2024 - From OpenAI to Opensource AI
Raphaël Semeteys
 
Data Protection in a Connected World: Sovereignty and Cyber Security
Data Protection in a Connected World: Sovereignty and Cyber SecurityData Protection in a Connected World: Sovereignty and Cyber Security
Data Protection in a Connected World: Sovereignty and Cyber Security
anupriti
 
What's Next Web Development Trends to Watch.pdf
What's Next Web Development Trends to Watch.pdfWhat's Next Web Development Trends to Watch.pdf
What's Next Web Development Trends to Watch.pdf
SeasiaInfotech2
 
How to Avoid Learning the Linux-Kernel Memory Model
How to Avoid Learning the Linux-Kernel Memory ModelHow to Avoid Learning the Linux-Kernel Memory Model
How to Avoid Learning the Linux-Kernel Memory Model
ScyllaDB
 
Why do You Have to Redesign?_Redesign Challenge Day 1
Why do You Have to Redesign?_Redesign Challenge Day 1Why do You Have to Redesign?_Redesign Challenge Day 1
Why do You Have to Redesign?_Redesign Challenge Day 1
FellyciaHikmahwarani
 
Lessons Of Binary Analysis - Christien Rioux
Lessons Of Binary Analysis - Christien RiouxLessons Of Binary Analysis - Christien Rioux
Lessons Of Binary Analysis - Christien Rioux
crioux1
 
5G bootcamp Sep 2020 (NPI initiative).pptx
5G bootcamp Sep 2020 (NPI initiative).pptx5G bootcamp Sep 2020 (NPI initiative).pptx
5G bootcamp Sep 2020 (NPI initiative).pptx
SATYENDRA100
 

Recently uploaded (20)

AC Atlassian Coimbatore Session Slides( 22/06/2024)
AC Atlassian Coimbatore Session Slides( 22/06/2024)AC Atlassian Coimbatore Session Slides( 22/06/2024)
AC Atlassian Coimbatore Session Slides( 22/06/2024)
 
WhatsApp Image 2024-03-27 at 08.19.52_bfd93109.pdf
WhatsApp Image 2024-03-27 at 08.19.52_bfd93109.pdfWhatsApp Image 2024-03-27 at 08.19.52_bfd93109.pdf
WhatsApp Image 2024-03-27 at 08.19.52_bfd93109.pdf
 
Cookies program to display the information though cookie creation
Cookies program to display the information though cookie creationCookies program to display the information though cookie creation
Cookies program to display the information though cookie creation
 
Scaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - Mydbops
Scaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - MydbopsScaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - Mydbops
Scaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - Mydbops
 
@Call @Girls Pune 0000000000 Riya Khan Beautiful Girl any Time
@Call @Girls Pune 0000000000 Riya Khan Beautiful Girl any Time@Call @Girls Pune 0000000000 Riya Khan Beautiful Girl any Time
@Call @Girls Pune 0000000000 Riya Khan Beautiful Girl any Time
 
一比一原版(msvu毕业证书)圣文森山大学毕业证如何办理
一比一原版(msvu毕业证书)圣文森山大学毕业证如何办理一比一原版(msvu毕业证书)圣文森山大学毕业证如何办理
一比一原版(msvu毕业证书)圣文森山大学毕业证如何办理
 
Running a Go App in Kubernetes: CPU Impacts
Running a Go App in Kubernetes: CPU ImpactsRunning a Go App in Kubernetes: CPU Impacts
Running a Go App in Kubernetes: CPU Impacts
 
Verti - EMEA Insurer Innovation Award 2024
Verti - EMEA Insurer Innovation Award 2024Verti - EMEA Insurer Innovation Award 2024
Verti - EMEA Insurer Innovation Award 2024
 
Fluttercon 2024: Showing that you care about security - OpenSSF Scorecards fo...
Fluttercon 2024: Showing that you care about security - OpenSSF Scorecards fo...Fluttercon 2024: Showing that you care about security - OpenSSF Scorecards fo...
Fluttercon 2024: Showing that you care about security - OpenSSF Scorecards fo...
 
GDG Cloud Southlake #34: Neatsun Ziv: Automating Appsec
GDG Cloud Southlake #34: Neatsun Ziv: Automating AppsecGDG Cloud Southlake #34: Neatsun Ziv: Automating Appsec
GDG Cloud Southlake #34: Neatsun Ziv: Automating Appsec
 
What’s New in Teams Calling, Meetings and Devices May 2024
What’s New in Teams Calling, Meetings and Devices May 2024What’s New in Teams Calling, Meetings and Devices May 2024
What’s New in Teams Calling, Meetings and Devices May 2024
 
Paradigm Shifts in User Modeling: A Journey from Historical Foundations to Em...
Paradigm Shifts in User Modeling: A Journey from Historical Foundations to Em...Paradigm Shifts in User Modeling: A Journey from Historical Foundations to Em...
Paradigm Shifts in User Modeling: A Journey from Historical Foundations to Em...
 
STKI Israeli Market Study 2024 final v1
STKI Israeli Market Study 2024 final  v1STKI Israeli Market Study 2024 final  v1
STKI Israeli Market Study 2024 final v1
 
AI_dev Europe 2024 - From OpenAI to Opensource AI
AI_dev Europe 2024 - From OpenAI to Opensource AIAI_dev Europe 2024 - From OpenAI to Opensource AI
AI_dev Europe 2024 - From OpenAI to Opensource AI
 
Data Protection in a Connected World: Sovereignty and Cyber Security
Data Protection in a Connected World: Sovereignty and Cyber SecurityData Protection in a Connected World: Sovereignty and Cyber Security
Data Protection in a Connected World: Sovereignty and Cyber Security
 
What's Next Web Development Trends to Watch.pdf
What's Next Web Development Trends to Watch.pdfWhat's Next Web Development Trends to Watch.pdf
What's Next Web Development Trends to Watch.pdf
 
How to Avoid Learning the Linux-Kernel Memory Model
How to Avoid Learning the Linux-Kernel Memory ModelHow to Avoid Learning the Linux-Kernel Memory Model
How to Avoid Learning the Linux-Kernel Memory Model
 
Why do You Have to Redesign?_Redesign Challenge Day 1
Why do You Have to Redesign?_Redesign Challenge Day 1Why do You Have to Redesign?_Redesign Challenge Day 1
Why do You Have to Redesign?_Redesign Challenge Day 1
 
Lessons Of Binary Analysis - Christien Rioux
Lessons Of Binary Analysis - Christien RiouxLessons Of Binary Analysis - Christien Rioux
Lessons Of Binary Analysis - Christien Rioux
 
5G bootcamp Sep 2020 (NPI initiative).pptx
5G bootcamp Sep 2020 (NPI initiative).pptx5G bootcamp Sep 2020 (NPI initiative).pptx
5G bootcamp Sep 2020 (NPI initiative).pptx
 

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&amp;#x2019;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&amp;#x2019;t require ruby anymore, and you can run it alone like less.. and with extra stuff like conditionals &amp; controls it&amp;#x2019;s getting better\n
  34. \n
  35. \n