SlideShare a Scribd company logo
Do MORE WITH LESS
     for your CSS




                Sean Lange
                Frontend Developer, Lullabot
                sean.lange@lullabot.com
Who are you?
Drupal? FrontPage? Dreamweaver?

Have you ever written HTML

Are you familiar with CSS

Programmers / Developers

Experience with PreProcessors

Fear Factor?
Who am I?

Sean Lange

FrontEnd Developer with Lullabot

Website Perception Enhancement Facilitator

Web Beautification Implementation Specialist

Drupal via FrontPage/Dreamweaver

FrontEnd --> Developer --> FrontEnd
Why are we here?

What is a CSS preprocessor?

What is LESS and SASS?

Is it valuable in Drupal?

How do I preprocess my CSS?

Why is CSS preprocessor important?!?
What is CSS?

Cascading Style Sheets - Responsible for
determining presentation of HTML. Provides
ability to create terrific visual displays.

Has evolved over the years with CSS2, CSS3,
based in the needs of web browser
presentation.

Long, repetitive, inconsistent
what is pre-process?

Typ Smthng --> TYPE SOMETHING

Rules, Patterns, Syntax to produce some kind
of desired output. (@imgpath == ‘“../../images/buttons/
green-buttons/large-green.jpg)


Provides opportunity for logical order and
structure to output results.

Compiler
what is LESS?
Write CSS in a smarter more organized
manner.

Use functions, mixins, operations and more.

Ability to reuse colors, styles and snippets
easily. 

Results in the ability to write more concise
style information that is easy to read, track,
and build upon. 
what it is like

LESS is Shorthand for CSS

LESS is Visual Structure for CSS

LESS is Automation for repetitive styles for
CSS

LESS is Consistency for CSS

it’s good for...
break it down
Ultimately, the
browser reads
CSS, so
ultimately you      #main-menu   {…}
have to end up      #main-menu   img {…}
with a .css file     #main-menu   ul.menu {…}
to render the       #main-menu   ul.menu li {…}
page. so…           #main-menu   ul.menu a {…}
for .css we just
make a long list,
and try to keep
it 'together'.
Is this REAL?

A though with
another thought's    Jon   Smith […]
hat on….             Jon   Smith's address […]
                     Jon   Smith's phone (h) […]
If you were          Jon   Smith's phone (w) […]
writing down         Jon   Smith's email […]
someone's contact
information, you'd
never write…
less address cruft

                              WE SEE....
WE DON’T SEE...
                              Jon Smith
Jon   Smith […]                 address
Jon   Smith's address […]       phone
Jon   Smith's phone (h) […]          (h)
Jon   Smith's phone (w) […]          (m)
Jon   Smith's email […]         email
keeping it together
                                WE WANT TO SEE....
WE DON’T WANT
TO SEE...
                                #main-menu {
#main-menu   {…}                   img {...}
#main-menu   img {…}              ul.menu {...
#main-menu   ul.menu {…}
#main-menu   ul.menu li {…}          li {...}
#main-menu   ul.menu span {…}        span {…}
                                  }
                                }
is it for Drupal?

LESS is Order and Structure for Drupal Theming
(hierarchy of elements/classes/nesting)


LESS is Rapid CSS Evolution for Drupal Theming
(creating variables for swapping values and alterations of values)


LESS is Fail, Fail, Pass for Drupal Theming                          (reusing success
and changing simple values in functions)


LESS is Consistency for Drupal Theming (padding/line-
height/clearfixes/similarities within different views)
how to do
a file with a .less extension.

use LESS app (or Codekit) and let it ‘watch’
the file or directory.

write some less in the .less file

save the .less file, the watcher (app) does it’s
thing.

RESULT... a .css file
how to do
a file with a .less extension.

use LESS app (or Codekit) and let it ‘watch’
the file or directory.

write some less in the .less file

save the .less file, the watcher (app) does it’s
thing.

RESULT... a .css file
tool
JS & DOC: http://
lesscss.org

APP: http:/ /
incident57.com/less/

Write

Compile

Use
http://css-tricks.com/poll-results-popularity-of-css-preprocessors/

More Related Content

Similar to Do More with LESS

Sass Essentials at Mobile Camp LA
Sass Essentials at Mobile Camp LASass Essentials at Mobile Camp LA
Sass Essentials at Mobile Camp LA
Jake Johnson
 
SASS is more than LESS
SASS is more than LESSSASS is more than LESS
SASS is more than LESSItai Koren
 
Write LESS. DO more.
Write LESS. DO more.Write LESS. DO more.
Write LESS. DO more.
Eugene Nor
 
CSS Extenders
CSS ExtendersCSS Extenders
CSS Extenders
Idan Gazit
 
Structuring your CSS for maintainability: rules and guile lines to write CSS
Structuring your CSS for maintainability: rules and guile lines to write CSSStructuring your CSS for maintainability: rules and guile lines to write CSS
Structuring your CSS for maintainability: rules and guile lines to write CSS
Sanjoy Kr. Paul
 
The World of Stylesheet Languages
The World of Stylesheet LanguagesThe World of Stylesheet Languages
The World of Stylesheet Languages
Andrea Tino
 
2h landing page
2h landing page 2h landing page
2h landing page
AndryRajohnson
 
Bootstrap Workout 2015
Bootstrap Workout 2015Bootstrap Workout 2015
Bootstrap Workout 2015
Rob Davarnia
 
Preprocessor presentation
Preprocessor presentationPreprocessor presentation
Preprocessor presentation
Mario Noble
 
Bridging the gap between designers and developers at theguardian.com
Bridging the gap between designers and developers at theguardian.comBridging the gap between designers and developers at theguardian.com
Bridging the gap between designers and developers at theguardian.com
Kaelig Deloumeau-Prigent
 
Team styles
Team stylesTeam styles
Team styles
nathanscott
 
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
 
INTRODUCTIONS OF CSS
INTRODUCTIONS OF CSSINTRODUCTIONS OF CSS
INTRODUCTIONS OF CSS
SURYANARAYANBISWAL1
 
HTML5 for the Flash Developer
HTML5 for the Flash DeveloperHTML5 for the Flash Developer
HTML5 for the Flash Developer
DevelopmentArc LLC
 
Css Layout
Css LayoutCss Layout
Css Layout
Manimaran R
 
Doing More with LESS for CSS
Doing More with LESS for CSSDoing More with LESS for CSS
Doing More with LESS for CSS
Todd Anglin
 

Similar to Do More with LESS (20)

Sass Essentials at Mobile Camp LA
Sass Essentials at Mobile Camp LASass Essentials at Mobile Camp LA
Sass Essentials at Mobile Camp LA
 
SASS is more than LESS
SASS is more than LESSSASS is more than LESS
SASS is more than LESS
 
Write LESS. DO more.
Write LESS. DO more.Write LESS. DO more.
Write LESS. DO more.
 
CSS Extenders
CSS ExtendersCSS Extenders
CSS Extenders
 
Structuring your CSS for maintainability: rules and guile lines to write CSS
Structuring your CSS for maintainability: rules and guile lines to write CSSStructuring your CSS for maintainability: rules and guile lines to write CSS
Structuring your CSS for maintainability: rules and guile lines to write CSS
 
The World of Stylesheet Languages
The World of Stylesheet LanguagesThe World of Stylesheet Languages
The World of Stylesheet Languages
 
New css
New cssNew css
New css
 
2h landing page
2h landing page 2h landing page
2h landing page
 
Css Layout
Css LayoutCss Layout
Css Layout
 
Bootstrap Workout 2015
Bootstrap Workout 2015Bootstrap Workout 2015
Bootstrap Workout 2015
 
Accelerated Stylesheets
Accelerated StylesheetsAccelerated Stylesheets
Accelerated Stylesheets
 
More of less (take 2)
More of less (take 2)More of less (take 2)
More of less (take 2)
 
Preprocessor presentation
Preprocessor presentationPreprocessor presentation
Preprocessor presentation
 
Bridging the gap between designers and developers at theguardian.com
Bridging the gap between designers and developers at theguardian.comBridging the gap between designers and developers at theguardian.com
Bridging the gap between designers and developers at theguardian.com
 
Team styles
Team stylesTeam styles
Team styles
 
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
 
INTRODUCTIONS OF CSS
INTRODUCTIONS OF CSSINTRODUCTIONS OF CSS
INTRODUCTIONS OF CSS
 
HTML5 for the Flash Developer
HTML5 for the Flash DeveloperHTML5 for the Flash Developer
HTML5 for the Flash Developer
 
Css Layout
Css LayoutCss Layout
Css Layout
 
Doing More with LESS for CSS
Doing More with LESS for CSSDoing More with LESS for CSS
Doing More with LESS for CSS
 

Recently uploaded

20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
Matthew Sinclair
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
Pierluigi Pugliese
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
Neo4j
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
Ralf Eggert
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
Neo4j
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
Aftab Hussain
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Paige Cruz
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
SOFTTECHHUB
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Nexer Digital
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
mikeeftimakis1
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
Neo4j
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
Neo4j
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
James Anderson
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems S.M.S.A.
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 

Recently uploaded (20)

20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 

Do More with LESS

  • 1. Do MORE WITH LESS for your CSS Sean Lange Frontend Developer, Lullabot sean.lange@lullabot.com
  • 2. Who are you? Drupal? FrontPage? Dreamweaver? Have you ever written HTML Are you familiar with CSS Programmers / Developers Experience with PreProcessors Fear Factor?
  • 3. Who am I? Sean Lange FrontEnd Developer with Lullabot Website Perception Enhancement Facilitator Web Beautification Implementation Specialist Drupal via FrontPage/Dreamweaver FrontEnd --> Developer --> FrontEnd
  • 4. Why are we here? What is a CSS preprocessor? What is LESS and SASS? Is it valuable in Drupal? How do I preprocess my CSS? Why is CSS preprocessor important?!?
  • 5. What is CSS? Cascading Style Sheets - Responsible for determining presentation of HTML. Provides ability to create terrific visual displays. Has evolved over the years with CSS2, CSS3, based in the needs of web browser presentation. Long, repetitive, inconsistent
  • 6. what is pre-process? Typ Smthng --> TYPE SOMETHING Rules, Patterns, Syntax to produce some kind of desired output. (@imgpath == ‘“../../images/buttons/ green-buttons/large-green.jpg) Provides opportunity for logical order and structure to output results. Compiler
  • 7. what is LESS? Write CSS in a smarter more organized manner. Use functions, mixins, operations and more. Ability to reuse colors, styles and snippets easily.  Results in the ability to write more concise style information that is easy to read, track, and build upon. 
  • 8. what it is like LESS is Shorthand for CSS LESS is Visual Structure for CSS LESS is Automation for repetitive styles for CSS LESS is Consistency for CSS it’s good for...
  • 9. break it down Ultimately, the browser reads CSS, so ultimately you #main-menu {…} have to end up #main-menu img {…} with a .css file #main-menu ul.menu {…} to render the #main-menu ul.menu li {…} page. so… #main-menu ul.menu a {…} for .css we just make a long list, and try to keep it 'together'.
  • 10. Is this REAL? A though with another thought's Jon Smith […] hat on…. Jon Smith's address […] Jon Smith's phone (h) […] If you were Jon Smith's phone (w) […] writing down Jon Smith's email […] someone's contact information, you'd never write…
  • 11. less address cruft WE SEE.... WE DON’T SEE... Jon Smith Jon Smith […]   address Jon Smith's address […]   phone Jon Smith's phone (h) […] (h) Jon Smith's phone (w) […]   (m) Jon Smith's email […]   email
  • 12. keeping it together WE WANT TO SEE.... WE DON’T WANT TO SEE... #main-menu { #main-menu {…} img {...} #main-menu img {…}   ul.menu {... #main-menu ul.menu {…} #main-menu ul.menu li {…}    li {...} #main-menu ul.menu span {…}    span {…}   } }
  • 13. is it for Drupal? LESS is Order and Structure for Drupal Theming (hierarchy of elements/classes/nesting) LESS is Rapid CSS Evolution for Drupal Theming (creating variables for swapping values and alterations of values) LESS is Fail, Fail, Pass for Drupal Theming (reusing success and changing simple values in functions) LESS is Consistency for Drupal Theming (padding/line- height/clearfixes/similarities within different views)
  • 14. how to do a file with a .less extension. use LESS app (or Codekit) and let it ‘watch’ the file or directory. write some less in the .less file save the .less file, the watcher (app) does it’s thing. RESULT... a .css file
  • 15. how to do a file with a .less extension. use LESS app (or Codekit) and let it ‘watch’ the file or directory. write some less in the .less file save the .less file, the watcher (app) does it’s thing. RESULT... a .css file
  • 16. tool JS & DOC: http:// lesscss.org APP: http:/ / incident57.com/less/ Write Compile Use

Editor's Notes

  1. \n
  2. \n
  3. \n
  4. \n
  5. \n
  6. \n
  7. \n
  8. Are you tired of writing.\ntext-indent: -9999px;\nremebering the hex number for the hover link;\nwriting overrides for the hover link in situations;\n\n
  9. \n
  10. \n
  11. \n
  12. \n
  13. What does that mean for my Drupal theming?\ncreate re-usable css structures that speed up your time writing css.\ncreate variables, so that if you change a color, you change the variable once, and don't need to 'find and replace' for several minutes.\ncreate re-usable css that you can insert values into… i.e. never write several decelerations for rounded corners again.\n\n
  14. \n
  15. a less file is a PRE CSS file. Similar to the idea that when you create some drawing in Photoshop, that is then processed into a jpg, gif, png, etc...\n\nWrite your LESS in the format using the documentation and guide.\nUse a LESS compiler to generate the css file.\nUse the resulting CSS file where needed.\n\nWe will be using the LESS app, and CSS files to today’s introduction to LESS.\n
  16. \n