SlideShare a Scribd company logo
1 of 27
Elegant CSS In Drupal
          LESS vs SASS
By Dante Taylor
Mediacurrent Creative Director
              @ThemeMaster
Key Assumptions
 Have basic understanding of CSS principles

 Have basic understanding of procedural languages

 Looking to speed up writing custom CSS
What is LESS & Sass?
 Statements below were taken from Sass website “About
  Page”, but holds true for for both LESS and Sass

 Sass is a meta-language on top of CSS that’s used to
  describe the style of a document cleanly and structurally, with
  more power than flat CSS allows.

 Sass both provides a simpler, more elegant syntax for CSS
  and implements various features that are useful for creating
  manageable stylesheets.


                                                @http://sass-lang.com/about.html
What problems does LESS
& Sass solve?
 Create reusable code to use on any project
 Use variables and functions like PHP (Mixins + Parametric
  Mixins)
 Accepts math operations and computations inline
 Change scope like PHP and other popular procedural
  languages
 Evaluate JavaScript inline
 Create nested syntax and CSS declaration blocks


                                                Source: http://drupal.org
You May Be Thinking
 Who would create something with so much awesomeness
  baked right in?
 Who uses LESS and Sass?
 How much of extra work is this to use with Drupal?
 Is it worth my time to learn?
 What is the easiest way to get started?
Meet The Creators




Alexis Sellier (CloudHead)   Hampton Catlin                 Nathan Weizenbaum
LESS Creator                 SASS Original Creator          SASS 2.0+ Creator

http://bit.ly/LJFTh6         http://www.hamptoncatlin.com   https://twitter.com/nex3
What are key differences?
 Main difference between the two is how they are
  processed

 LESS - Is a JavaScript library and typically processed
  client-side

 Sass - Typically runs on Ruby and is processed server
  side.(PHPSass Script with Prepro Module allows Drupal
  to process it via php without Ruby)


                                                Source: http://drupal.org
What are key differences?
 LESS can evaluate JavaScript inline

 LESS is easier to use. SASS appears to have more
  options to create complex MIXINS (functions). This is a
  highly debated point. @http://wrangl.com/sass-v-less

 (CAUTION: Statement above has been known to cause
  comment wars.YOU HAVE BEEN WARNED.Use with
  EXTREME CAUTION!)
Who uses LESS & Sass?
 LESS Github 6,073+ Watch and 848+ Fork
  @https://github.com/cloudhead/less.js

 SASS Github 1,218+ Watch and 155+ Fork
  @https://github.com/nex3/sass

 SASS appears to have more active contributors

 GitHub: 5 to 1 seem to watch and fork LESS over SASS
  @http://bit.ly/Nk4xaf (LESS vs SASS Google trend since
  2009)
                                             Source: http://drupal.org
Who uses LESS & Sass
 Drupal: 5 to 1 seem to install LESS over SASS in Drupal
  Community (sample taken over 4 week period, Jun 10 -
  Jul 1, from member who run the update status module)
  @http://drupal.org/project/usage

 SASS Built themes
  (Zen, AdaptiveTheme, Basic, Boilerplate, Sasson, Aurora
  )



                                              Source: http://drupal.org
Drupal with LESS & Sass
 LESS Module @http://drupal.org/project/less

 SASS@http://drupal.org/project/sassy
  + PrePro Module @http://www.drupal.org/project/prepro
  + PHPSass@http://github.com/richthegeek/phpsass/downloads
  + Libraries API Module @http://www.drupal.org/project/libraries
Key Concepts
   Variables                    String Interpolation
   Mixins                       Escaping
   Parametric Mixins            JavaScript Evaluation (LESS
   Selector Inheritance          Only)
   Nested Rules                 Output Formatting
   Color Functions
   Conditions And Controls
   Namespaces
   Scope
   Importing




                                                Smashing Magazine @http://bit.ly/n01ySn
Variables

       Sass              Less

  $red: #ff0000;   @red: #ff0000;




                                Source: http://drupal.org
Mixins
                 Sass                                      Less
@mixin perspective ($value: 1000) {   .perspective (@value: 1000) {
  -webkit-perspective: $value;          -webkit-perspective: @value;
  -moz-perspective: $value;             -moz-perspective: @value;
  -ms-perspective: $value;              -ms-perspective: @value;
  perspective: $value;                  perspective: @value;
}                                     }


.transform {                           .transform {
   @include perspective (2000);         .perspective (2000);
}                                      }




                                                                   Source: http://drupal.org
Selector Inheritance
              Sass          Less

.border {

}
  border: 1px solid #fff;
                            N/A
.box {
  @extend .border;
}

          Prints
.border, .box {
border: 1px solid #fff;
}
                                   Source: http://drupal.org
Nested Rules
              Sass                               Less

.box {                              .box {
  @extend .border;                  &.selector {
                                        background: #000;
&.selector {                          }
    background: #000;               }
  }
}

              Prints                             Prints
.border.selector, .box.selector {   .box.selector {
border: 1px solid #000;             border: 1px solid #000;
}                                   }
Color Functions
                    Sass                              Less

adjust-hue(#cc3, 20deg) => #9c3    saturate(#cc3, 10%) => #d9d926
saturate(#cc3, 10%) => #d9d926     desaturate(#cc3, 10%) => #bfbf40
desaturate(#cc3, 10%) => #bfbf40   lighten(#cc3, 10%) => #d6d65c
lighten(#cc3, 10%) => #d6d65c      darken(#cc3, 10%) => #a3a329
darken(#cc3, 10%) => #a3a329
                                   @http://bit.ly/fzdbZK
@see http://bit.ly/nyBv1M
Conditionals
             Sass                  Less

/* Sample Sass "if" statement */
@if lightness($color) > 30% {

}
  background-color: #000;          N/A
@else {
  background-color: #fff;
} /* Sample Sass "for" loop */

@for $i from 1px to 10px {
  .border-#{i} {
  border: $i solid blue; }
}
                                          http://bit.ly/n01ySn
Final Thoughts
 Both LESS and Sass allow you to save time and give
  you the ability to reuse code

 Drupal 8 will most likely use Sass as its CSS
  Processor/Meta Language

 CSS has evolved and LESS and Sass are examples of
  the new standards
Resources
   http://bit.ly/n01ySn (LESS vs Sass compared)
   http://lesscss.org (About Less)
   http://drupal.org/project/sassy (SASS Drupal Project)
   http://bit.ly/mRjV5t (Sass presentation DrupalCon Dever 2012)
   http://bit.ly/OQttYb (Sassy 101 PDF)
   http://compass-style.org (CSS Framework)
   http://foundation.zurb.com (CSS Framework)
   http://twitter.github.com/bootstrap (CSS Framework)
   http://compass.handlino.com (Compass App)
   http://www.manning.com/netherland (Sass and Compass in Action)
   http://drupal.org/project/twitter_bootstrap (Twitter Bootstrap Drupal Project)
Thanks!
Remember not to panic
  & clear your cache!
Mediacurrent helps organizations architect custom websites by
leveraging our proven processes and deep expertise in Drupal.




              @mediacurrentmediacurrent.com

More Related Content

What's hot

Scalable Event Analytics with MongoDB & Ruby on Rails
Scalable Event Analytics with MongoDB & Ruby on RailsScalable Event Analytics with MongoDB & Ruby on Rails
Scalable Event Analytics with MongoDB & Ruby on RailsJared Rosoff
 
Introduction to SASS
Introduction to SASSIntroduction to SASS
Introduction to SASSJon Dean
 
Rupy2012 ArangoDB Workshop Part2
Rupy2012 ArangoDB Workshop Part2Rupy2012 ArangoDB Workshop Part2
Rupy2012 ArangoDB Workshop Part2ArangoDB Database
 
Compass, Sass, and the Enlightened CSS Developer
Compass, Sass, and the Enlightened CSS DeveloperCompass, Sass, and the Enlightened CSS Developer
Compass, Sass, and the Enlightened CSS DeveloperWynn Netherland
 
Organizing & Simplifying CSS [with Sass]
Organizing & Simplifying CSS [with Sass]Organizing & Simplifying CSS [with Sass]
Organizing & Simplifying CSS [with Sass]Matt Puchlerz
 
Simplifying CSS With Sass
Simplifying CSS With SassSimplifying CSS With Sass
Simplifying CSS With SassThomas Reynolds
 
Pacific Northwest Drupal Summit: Basic & SASS
Pacific Northwest Drupal Summit: Basic & SASSPacific Northwest Drupal Summit: Basic & SASS
Pacific Northwest Drupal Summit: Basic & SASSSteve Krueger
 
Hadoopソースコードリーディング第3回 Hadopo MR + Cassandra
Hadoopソースコードリーディング第3回 Hadopo MR + CassandraHadoopソースコードリーディング第3回 Hadopo MR + Cassandra
Hadoopソースコードリーディング第3回 Hadopo MR + CassandraRyu Kobayashi
 

What's hot (12)

Scalable Event Analytics with MongoDB & Ruby on Rails
Scalable Event Analytics with MongoDB & Ruby on RailsScalable Event Analytics with MongoDB & Ruby on Rails
Scalable Event Analytics with MongoDB & Ruby on Rails
 
Introduction to SASS
Introduction to SASSIntroduction to SASS
Introduction to SASS
 
Rupy2012 ArangoDB Workshop Part2
Rupy2012 ArangoDB Workshop Part2Rupy2012 ArangoDB Workshop Part2
Rupy2012 ArangoDB Workshop Part2
 
Compass, Sass, and the Enlightened CSS Developer
Compass, Sass, and the Enlightened CSS DeveloperCompass, Sass, and the Enlightened CSS Developer
Compass, Sass, and the Enlightened CSS Developer
 
Organizing & Simplifying CSS [with Sass]
Organizing & Simplifying CSS [with Sass]Organizing & Simplifying CSS [with Sass]
Organizing & Simplifying CSS [with Sass]
 
Simplifying CSS With Sass
Simplifying CSS With SassSimplifying CSS With Sass
Simplifying CSS With Sass
 
Less css
Less cssLess css
Less css
 
Sass presentation
Sass presentationSass presentation
Sass presentation
 
Pacific Northwest Drupal Summit: Basic & SASS
Pacific Northwest Drupal Summit: Basic & SASSPacific Northwest Drupal Summit: Basic & SASS
Pacific Northwest Drupal Summit: Basic & SASS
 
Rails on HBase
Rails on HBaseRails on HBase
Rails on HBase
 
Sass compass
Sass compassSass compass
Sass compass
 
Hadoopソースコードリーディング第3回 Hadopo MR + Cassandra
Hadoopソースコードリーディング第3回 Hadopo MR + CassandraHadoopソースコードリーディング第3回 Hadopo MR + Cassandra
Hadoopソースコードリーディング第3回 Hadopo MR + Cassandra
 

Similar to Elegant CSS in Drupal: LESS vs SASS

Dallas Drupal Days 2012 - Introduction to less sass-compass
Dallas Drupal Days 2012  - Introduction to less sass-compassDallas Drupal Days 2012  - Introduction to less sass-compass
Dallas Drupal Days 2012 - Introduction to less sass-compassChris Lee
 
SASS, Compass, Gulp, Greensock
SASS, Compass, Gulp, GreensockSASS, Compass, Gulp, Greensock
SASS, Compass, Gulp, GreensockMarco Pinheiro
 
Simple introduction Sass
Simple introduction SassSimple introduction Sass
Simple introduction SassZeeshan Ahmed
 
Authoring Stylesheets with Compass & Sass
Authoring Stylesheets with Compass & SassAuthoring Stylesheets with Compass & Sass
Authoring Stylesheets with Compass & Sasschriseppstein
 
SCSS Implementation
SCSS ImplementationSCSS Implementation
SCSS ImplementationAmey Parab
 
SASS is more than LESS
SASS is more than LESSSASS is more than LESS
SASS is more than LESSItai Koren
 
Bliblidotcom - SASS Introduction
Bliblidotcom - SASS IntroductionBliblidotcom - SASS Introduction
Bliblidotcom - SASS IntroductionIrfan Maulana
 
@Agawish creating a stunning ui with oracle adf faces, using sass
@Agawish   creating a stunning ui with oracle adf faces, using sass@Agawish   creating a stunning ui with oracle adf faces, using sass
@Agawish creating a stunning ui with oracle adf faces, using sassAmr Gawish
 
Intro to Sass for WordPress Developers
Intro to Sass for WordPress DevelopersIntro to Sass for WordPress Developers
Intro to Sass for WordPress DevelopersSuzette Franck
 
Advanced sass/compass
Advanced sass/compassAdvanced sass/compass
Advanced sass/compassNick Cooley
 
Sass:-Syntactically Awesome Stylesheet by Shafeeq
Sass:-Syntactically Awesome Stylesheet by ShafeeqSass:-Syntactically Awesome Stylesheet by Shafeeq
Sass:-Syntactically Awesome Stylesheet by ShafeeqDignitasDigital1
 
Syntactically awesome stylesheets (Sass)
Syntactically awesome stylesheets (Sass)Syntactically awesome stylesheets (Sass)
Syntactically awesome stylesheets (Sass)Tahmina Khatoon
 
Drupal+LESS | PHDUG Drupal Developers Day 2012
Drupal+LESS | PHDUG Drupal Developers Day 2012Drupal+LESS | PHDUG Drupal Developers Day 2012
Drupal+LESS | PHDUG Drupal Developers Day 2012Albert Causing
 
Preprocessor presentation
Preprocessor presentationPreprocessor presentation
Preprocessor presentationMario Noble
 

Similar to Elegant CSS in Drupal: LESS vs SASS (20)

Dallas Drupal Days 2012 - Introduction to less sass-compass
Dallas Drupal Days 2012  - Introduction to less sass-compassDallas Drupal Days 2012  - Introduction to less sass-compass
Dallas Drupal Days 2012 - Introduction to less sass-compass
 
SASS, Compass, Gulp, Greensock
SASS, Compass, Gulp, GreensockSASS, Compass, Gulp, Greensock
SASS, Compass, Gulp, Greensock
 
Simple introduction Sass
Simple introduction SassSimple introduction Sass
Simple introduction Sass
 
UNIT 3.ppt
UNIT 3.pptUNIT 3.ppt
UNIT 3.ppt
 
Authoring Stylesheets with Compass & Sass
Authoring Stylesheets with Compass & SassAuthoring Stylesheets with Compass & Sass
Authoring Stylesheets with Compass & Sass
 
SCSS Implementation
SCSS ImplementationSCSS Implementation
SCSS Implementation
 
SASS is more than LESS
SASS is more than LESSSASS is more than LESS
SASS is more than LESS
 
Bliblidotcom - SASS Introduction
Bliblidotcom - SASS IntroductionBliblidotcom - SASS Introduction
Bliblidotcom - SASS Introduction
 
Advanced sass
Advanced sassAdvanced sass
Advanced sass
 
Big Frontends Made Simple
Big Frontends Made SimpleBig Frontends Made Simple
Big Frontends Made Simple
 
@Agawish creating a stunning ui with oracle adf faces, using sass
@Agawish   creating a stunning ui with oracle adf faces, using sass@Agawish   creating a stunning ui with oracle adf faces, using sass
@Agawish creating a stunning ui with oracle adf faces, using sass
 
SASS for WordPress Workshop
SASS for WordPress WorkshopSASS for WordPress Workshop
SASS for WordPress Workshop
 
Intro to Sass for WordPress Developers
Intro to Sass for WordPress DevelopersIntro to Sass for WordPress Developers
Intro to Sass for WordPress Developers
 
Advanced sass/compass
Advanced sass/compassAdvanced sass/compass
Advanced sass/compass
 
Sass:-Syntactically Awesome Stylesheet by Shafeeq
Sass:-Syntactically Awesome Stylesheet by ShafeeqSass:-Syntactically Awesome Stylesheet by Shafeeq
Sass:-Syntactically Awesome Stylesheet by Shafeeq
 
Why less?
Why less?Why less?
Why less?
 
Syntactically awesome stylesheets (Sass)
Syntactically awesome stylesheets (Sass)Syntactically awesome stylesheets (Sass)
Syntactically awesome stylesheets (Sass)
 
Drupal+LESS | PHDUG Drupal Developers Day 2012
Drupal+LESS | PHDUG Drupal Developers Day 2012Drupal+LESS | PHDUG Drupal Developers Day 2012
Drupal+LESS | PHDUG Drupal Developers Day 2012
 
Preprocessor presentation
Preprocessor presentationPreprocessor presentation
Preprocessor presentation
 
Accelerated Stylesheets
Accelerated StylesheetsAccelerated Stylesheets
Accelerated Stylesheets
 

More from Mediacurrent

Penn State News: Pivoting to Decoupled Drupal with Gatsby
Penn State News: Pivoting to Decoupled Drupal with GatsbyPenn State News: Pivoting to Decoupled Drupal with Gatsby
Penn State News: Pivoting to Decoupled Drupal with GatsbyMediacurrent
 
Evolving How We Measure Digital Success in Higher Ed
Evolving How We Measure Digital Success in Higher EdEvolving How We Measure Digital Success in Higher Ed
Evolving How We Measure Digital Success in Higher EdMediacurrent
 
Penn State scales static Drupal to new heights
Penn State scales static Drupal to new heightsPenn State scales static Drupal to new heights
Penn State scales static Drupal to new heightsMediacurrent
 
Delivering Meaningful Digital Experiences in Higher Ed
Delivering Meaningful Digital Experiences in Higher EdDelivering Meaningful Digital Experiences in Higher Ed
Delivering Meaningful Digital Experiences in Higher EdMediacurrent
 
Content Strategy: Building Connections with Your Audience
Content Strategy: Building Connections with Your AudienceContent Strategy: Building Connections with Your Audience
Content Strategy: Building Connections with Your AudienceMediacurrent
 
Decoupled Drupal and Gatsby in the Real World
Decoupled Drupal and Gatsby in the Real WorldDecoupled Drupal and Gatsby in the Real World
Decoupled Drupal and Gatsby in the Real WorldMediacurrent
 
A Better Way to Build and Manage Sites with Rain for Drupal 9
A Better Way to Build and Manage Sites with Rain for Drupal 9A Better Way to Build and Manage Sites with Rain for Drupal 9
A Better Way to Build and Manage Sites with Rain for Drupal 9Mediacurrent
 
Drupal Security: What You Need to Know
Drupal Security: What You Need to KnowDrupal Security: What You Need to Know
Drupal Security: What You Need to KnowMediacurrent
 
Leveraging Design Systems to Streamline Web Projects
Leveraging Design Systems to Streamline Web ProjectsLeveraging Design Systems to Streamline Web Projects
Leveraging Design Systems to Streamline Web ProjectsMediacurrent
 
Reimagining Your Higher Ed Web Strategy
Reimagining Your Higher Ed Web StrategyReimagining Your Higher Ed Web Strategy
Reimagining Your Higher Ed Web StrategyMediacurrent
 
How to Digitally Transform Higher Ed with Drupal
How to Digitally Transform Higher Ed with DrupalHow to Digitally Transform Higher Ed with Drupal
How to Digitally Transform Higher Ed with DrupalMediacurrent
 
Is my website accessible? Common mistakes (and how to fix them)
Is my website accessible? Common mistakes (and how to fix them)Is my website accessible? Common mistakes (and how to fix them)
Is my website accessible? Common mistakes (and how to fix them)Mediacurrent
 
Managing Images In Large Scale Drupal 8 & 9 Websites
Managing Images In Large Scale Drupal 8 & 9 WebsitesManaging Images In Large Scale Drupal 8 & 9 Websites
Managing Images In Large Scale Drupal 8 & 9 WebsitesMediacurrent
 
Paragraphs v Layout Builder - The Final Showdown
Paragraphs v Layout Builder - The Final ShowdownParagraphs v Layout Builder - The Final Showdown
Paragraphs v Layout Builder - The Final ShowdownMediacurrent
 
MagMutual.com: On the JAMStack with Gatsby and Drupal 8
 MagMutual.com: On the JAMStack with Gatsby and Drupal 8 MagMutual.com: On the JAMStack with Gatsby and Drupal 8
MagMutual.com: On the JAMStack with Gatsby and Drupal 8Mediacurrent
 
Creating an Organizational Culture of Giving Back to Drupal
Creating an Organizational Culture of Giving Back to DrupalCreating an Organizational Culture of Giving Back to Drupal
Creating an Organizational Culture of Giving Back to DrupalMediacurrent
 
Level Up Your Team: Front-End Development Best Practices
Level Up Your Team: Front-End Development Best PracticesLevel Up Your Team: Front-End Development Best Practices
Level Up Your Team: Front-End Development Best PracticesMediacurrent
 
Best Practices for Moving to Drupal 9
Best Practices for Moving to Drupal 9Best Practices for Moving to Drupal 9
Best Practices for Moving to Drupal 9Mediacurrent
 
How to Prove Marketing ROI: Overcoming Digital Marketing Challenges
How to Prove Marketing ROI: Overcoming Digital Marketing ChallengesHow to Prove Marketing ROI: Overcoming Digital Marketing Challenges
How to Prove Marketing ROI: Overcoming Digital Marketing ChallengesMediacurrent
 
Prepare Your Drupal 9 Action Plan
Prepare Your Drupal 9 Action Plan Prepare Your Drupal 9 Action Plan
Prepare Your Drupal 9 Action Plan Mediacurrent
 

More from Mediacurrent (20)

Penn State News: Pivoting to Decoupled Drupal with Gatsby
Penn State News: Pivoting to Decoupled Drupal with GatsbyPenn State News: Pivoting to Decoupled Drupal with Gatsby
Penn State News: Pivoting to Decoupled Drupal with Gatsby
 
Evolving How We Measure Digital Success in Higher Ed
Evolving How We Measure Digital Success in Higher EdEvolving How We Measure Digital Success in Higher Ed
Evolving How We Measure Digital Success in Higher Ed
 
Penn State scales static Drupal to new heights
Penn State scales static Drupal to new heightsPenn State scales static Drupal to new heights
Penn State scales static Drupal to new heights
 
Delivering Meaningful Digital Experiences in Higher Ed
Delivering Meaningful Digital Experiences in Higher EdDelivering Meaningful Digital Experiences in Higher Ed
Delivering Meaningful Digital Experiences in Higher Ed
 
Content Strategy: Building Connections with Your Audience
Content Strategy: Building Connections with Your AudienceContent Strategy: Building Connections with Your Audience
Content Strategy: Building Connections with Your Audience
 
Decoupled Drupal and Gatsby in the Real World
Decoupled Drupal and Gatsby in the Real WorldDecoupled Drupal and Gatsby in the Real World
Decoupled Drupal and Gatsby in the Real World
 
A Better Way to Build and Manage Sites with Rain for Drupal 9
A Better Way to Build and Manage Sites with Rain for Drupal 9A Better Way to Build and Manage Sites with Rain for Drupal 9
A Better Way to Build and Manage Sites with Rain for Drupal 9
 
Drupal Security: What You Need to Know
Drupal Security: What You Need to KnowDrupal Security: What You Need to Know
Drupal Security: What You Need to Know
 
Leveraging Design Systems to Streamline Web Projects
Leveraging Design Systems to Streamline Web ProjectsLeveraging Design Systems to Streamline Web Projects
Leveraging Design Systems to Streamline Web Projects
 
Reimagining Your Higher Ed Web Strategy
Reimagining Your Higher Ed Web StrategyReimagining Your Higher Ed Web Strategy
Reimagining Your Higher Ed Web Strategy
 
How to Digitally Transform Higher Ed with Drupal
How to Digitally Transform Higher Ed with DrupalHow to Digitally Transform Higher Ed with Drupal
How to Digitally Transform Higher Ed with Drupal
 
Is my website accessible? Common mistakes (and how to fix them)
Is my website accessible? Common mistakes (and how to fix them)Is my website accessible? Common mistakes (and how to fix them)
Is my website accessible? Common mistakes (and how to fix them)
 
Managing Images In Large Scale Drupal 8 & 9 Websites
Managing Images In Large Scale Drupal 8 & 9 WebsitesManaging Images In Large Scale Drupal 8 & 9 Websites
Managing Images In Large Scale Drupal 8 & 9 Websites
 
Paragraphs v Layout Builder - The Final Showdown
Paragraphs v Layout Builder - The Final ShowdownParagraphs v Layout Builder - The Final Showdown
Paragraphs v Layout Builder - The Final Showdown
 
MagMutual.com: On the JAMStack with Gatsby and Drupal 8
 MagMutual.com: On the JAMStack with Gatsby and Drupal 8 MagMutual.com: On the JAMStack with Gatsby and Drupal 8
MagMutual.com: On the JAMStack with Gatsby and Drupal 8
 
Creating an Organizational Culture of Giving Back to Drupal
Creating an Organizational Culture of Giving Back to DrupalCreating an Organizational Culture of Giving Back to Drupal
Creating an Organizational Culture of Giving Back to Drupal
 
Level Up Your Team: Front-End Development Best Practices
Level Up Your Team: Front-End Development Best PracticesLevel Up Your Team: Front-End Development Best Practices
Level Up Your Team: Front-End Development Best Practices
 
Best Practices for Moving to Drupal 9
Best Practices for Moving to Drupal 9Best Practices for Moving to Drupal 9
Best Practices for Moving to Drupal 9
 
How to Prove Marketing ROI: Overcoming Digital Marketing Challenges
How to Prove Marketing ROI: Overcoming Digital Marketing ChallengesHow to Prove Marketing ROI: Overcoming Digital Marketing Challenges
How to Prove Marketing ROI: Overcoming Digital Marketing Challenges
 
Prepare Your Drupal 9 Action Plan
Prepare Your Drupal 9 Action Plan Prepare Your Drupal 9 Action Plan
Prepare Your Drupal 9 Action Plan
 

Recently uploaded

DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 

Recently uploaded (20)

DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 

Elegant CSS in Drupal: LESS vs SASS

  • 1. Elegant CSS In Drupal LESS vs SASS
  • 2. By Dante Taylor Mediacurrent Creative Director @ThemeMaster
  • 3. Key Assumptions  Have basic understanding of CSS principles  Have basic understanding of procedural languages  Looking to speed up writing custom CSS
  • 4. What is LESS & Sass?  Statements below were taken from Sass website “About Page”, but holds true for for both LESS and Sass  Sass is a meta-language on top of CSS that’s used to describe the style of a document cleanly and structurally, with more power than flat CSS allows.  Sass both provides a simpler, more elegant syntax for CSS and implements various features that are useful for creating manageable stylesheets. @http://sass-lang.com/about.html
  • 5.
  • 6. What problems does LESS & Sass solve?  Create reusable code to use on any project  Use variables and functions like PHP (Mixins + Parametric Mixins)  Accepts math operations and computations inline  Change scope like PHP and other popular procedural languages  Evaluate JavaScript inline  Create nested syntax and CSS declaration blocks Source: http://drupal.org
  • 7. You May Be Thinking  Who would create something with so much awesomeness baked right in?  Who uses LESS and Sass?  How much of extra work is this to use with Drupal?  Is it worth my time to learn?  What is the easiest way to get started?
  • 8. Meet The Creators Alexis Sellier (CloudHead) Hampton Catlin Nathan Weizenbaum LESS Creator SASS Original Creator SASS 2.0+ Creator http://bit.ly/LJFTh6 http://www.hamptoncatlin.com https://twitter.com/nex3
  • 9. What are key differences?  Main difference between the two is how they are processed  LESS - Is a JavaScript library and typically processed client-side  Sass - Typically runs on Ruby and is processed server side.(PHPSass Script with Prepro Module allows Drupal to process it via php without Ruby) Source: http://drupal.org
  • 10. What are key differences?  LESS can evaluate JavaScript inline  LESS is easier to use. SASS appears to have more options to create complex MIXINS (functions). This is a highly debated point. @http://wrangl.com/sass-v-less  (CAUTION: Statement above has been known to cause comment wars.YOU HAVE BEEN WARNED.Use with EXTREME CAUTION!)
  • 11. Who uses LESS & Sass?  LESS Github 6,073+ Watch and 848+ Fork @https://github.com/cloudhead/less.js  SASS Github 1,218+ Watch and 155+ Fork @https://github.com/nex3/sass  SASS appears to have more active contributors  GitHub: 5 to 1 seem to watch and fork LESS over SASS @http://bit.ly/Nk4xaf (LESS vs SASS Google trend since 2009) Source: http://drupal.org
  • 12. Who uses LESS & Sass  Drupal: 5 to 1 seem to install LESS over SASS in Drupal Community (sample taken over 4 week period, Jun 10 - Jul 1, from member who run the update status module) @http://drupal.org/project/usage  SASS Built themes (Zen, AdaptiveTheme, Basic, Boilerplate, Sasson, Aurora ) Source: http://drupal.org
  • 13. Drupal with LESS & Sass  LESS Module @http://drupal.org/project/less  SASS@http://drupal.org/project/sassy + PrePro Module @http://www.drupal.org/project/prepro + PHPSass@http://github.com/richthegeek/phpsass/downloads + Libraries API Module @http://www.drupal.org/project/libraries
  • 14.
  • 15.
  • 16.
  • 17. Key Concepts  Variables  String Interpolation  Mixins  Escaping  Parametric Mixins  JavaScript Evaluation (LESS  Selector Inheritance Only)  Nested Rules  Output Formatting  Color Functions  Conditions And Controls  Namespaces  Scope  Importing Smashing Magazine @http://bit.ly/n01ySn
  • 18. Variables Sass Less $red: #ff0000; @red: #ff0000; Source: http://drupal.org
  • 19. Mixins Sass Less @mixin perspective ($value: 1000) { .perspective (@value: 1000) { -webkit-perspective: $value; -webkit-perspective: @value; -moz-perspective: $value; -moz-perspective: @value; -ms-perspective: $value; -ms-perspective: @value; perspective: $value; perspective: @value; } } .transform { .transform { @include perspective (2000); .perspective (2000); } } Source: http://drupal.org
  • 20. Selector Inheritance Sass Less .border { } border: 1px solid #fff; N/A .box { @extend .border; } Prints .border, .box { border: 1px solid #fff; } Source: http://drupal.org
  • 21. Nested Rules Sass Less .box { .box { @extend .border; &.selector { background: #000; &.selector { } background: #000; } } } Prints Prints .border.selector, .box.selector { .box.selector { border: 1px solid #000; border: 1px solid #000; } }
  • 22. Color Functions Sass Less adjust-hue(#cc3, 20deg) => #9c3 saturate(#cc3, 10%) => #d9d926 saturate(#cc3, 10%) => #d9d926 desaturate(#cc3, 10%) => #bfbf40 desaturate(#cc3, 10%) => #bfbf40 lighten(#cc3, 10%) => #d6d65c lighten(#cc3, 10%) => #d6d65c darken(#cc3, 10%) => #a3a329 darken(#cc3, 10%) => #a3a329 @http://bit.ly/fzdbZK @see http://bit.ly/nyBv1M
  • 23. Conditionals Sass Less /* Sample Sass "if" statement */ @if lightness($color) > 30% { } background-color: #000; N/A @else { background-color: #fff; } /* Sample Sass "for" loop */ @for $i from 1px to 10px { .border-#{i} { border: $i solid blue; } } http://bit.ly/n01ySn
  • 24. Final Thoughts  Both LESS and Sass allow you to save time and give you the ability to reuse code  Drupal 8 will most likely use Sass as its CSS Processor/Meta Language  CSS has evolved and LESS and Sass are examples of the new standards
  • 25. Resources  http://bit.ly/n01ySn (LESS vs Sass compared)  http://lesscss.org (About Less)  http://drupal.org/project/sassy (SASS Drupal Project)  http://bit.ly/mRjV5t (Sass presentation DrupalCon Dever 2012)  http://bit.ly/OQttYb (Sassy 101 PDF)  http://compass-style.org (CSS Framework)  http://foundation.zurb.com (CSS Framework)  http://twitter.github.com/bootstrap (CSS Framework)  http://compass.handlino.com (Compass App)  http://www.manning.com/netherland (Sass and Compass in Action)  http://drupal.org/project/twitter_bootstrap (Twitter Bootstrap Drupal Project)
  • 26. Thanks! Remember not to panic & clear your cache!
  • 27. Mediacurrent helps organizations architect custom websites by leveraging our proven processes and deep expertise in Drupal. @mediacurrentmediacurrent.com

Editor's Notes

  1. Outline:• Maintainer of Display Suite• Display Purpose • Potential Use Cases• What are display modes?• How do you create new display modes?• What are Dynamic Fields• What are Block Fields?• Display Suite Override Templates• DS Custom Layouts• Display Suite Extras Full Reset Minimal Expert• Display • Panels vs. Display Suite
  2. Outline:• Maintainer of Display Suite• Display Purpose • Potential Use Cases• What are display modes?• How do you create new display modes?• What are Dynamic Fields• What are Block Fields?• Display Suite Override Templates• DS Custom Layouts• Display Suite Extras Full Reset Minimal Expert• Display • Panels vs. Display Suite
  3. Outline:• Maintainer of Display Suite• Display Purpose • Potential Use Cases• What are display modes?• How do you create new display modes?• What are Dynamic Fields• What are Block Fields?• Display Suite Override Templates• DS Custom Layouts• Display Suite Extras Full Reset Minimal Expert• Display • Panels vs. Display Suite
  4. Outline:• Maintainer of Display Suite• Display Purpose • Potential Use Cases• What are display modes?• How do you create new display modes?• What are Dynamic Fields• What are Block Fields?• Display Suite Override Templates• DS Custom Layouts• Display Suite Extras Full Reset Minimal Expert• Display • Panels vs. Display Suite
  5. Outline:• Maintainer of Display Suite• Display Purpose • Potential Use Cases• What are display modes?• How do you create new display modes?• What are Dynamic Fields• What are Block Fields?• Display Suite Override Templates• DS Custom Layouts• Display Suite Extras Full Reset Minimal Expert• Display • Panels vs. Display Suite
  6. Outline:• Maintainer of Display Suite• Display Purpose • Potential Use Cases• What are display modes?• How do you create new display modes?• What are Dynamic Fields• What are Block Fields?• Display Suite Override Templates• DS Custom Layouts• Display Suite Extras Full Reset Minimal Expert• Display • Panels vs. Display Suite
  7. Outline:• Maintainer of Display Suite• Display Purpose • Potential Use Cases• What are display modes?• How do you create new display modes?• What are Dynamic Fields• What are Block Fields?• Display Suite Override Templates• DS Custom Layouts• Display Suite Extras Full Reset Minimal Expert• Display • Panels vs. Display Suite
  8. Outline:• Maintainer of Display Suite• Display Purpose • Potential Use Cases• What are display modes?• How do you create new display modes?• What are Dynamic Fields• What are Block Fields?• Display Suite Override Templates• DS Custom Layouts• Display Suite Extras Full Reset Minimal Expert• Display • Panels vs. Display Suite
  9. Outline:• Maintainer of Display Suite• Display Purpose • Potential Use Cases• What are display modes?• How do you create new display modes?• What are Dynamic Fields• What are Block Fields?• Display Suite Override Templates• DS Custom Layouts• Display Suite Extras Full Reset Minimal Expert• Display • Panels vs. Display Suite
  10. Outline:• Maintainer of Display Suite• Display Purpose • Potential Use Cases• What are display modes?• How do you create new display modes?• What are Dynamic Fields• What are Block Fields?• Display Suite Override Templates• DS Custom Layouts• Display Suite Extras Full Reset Minimal Expert• Display • Panels vs. Display Suite
  11. Outline:• Maintainer of Display Suite• Display Purpose • Potential Use Cases• What are display modes?• How do you create new display modes?• What are Dynamic Fields• What are Block Fields?• Display Suite Override Templates• DS Custom Layouts• Display Suite Extras Full Reset Minimal Expert• Display • Panels vs. Display Suite
  12. Outline:• Maintainer of Display Suite• Display Purpose • Potential Use Cases• What are display modes?• How do you create new display modes?• What are Dynamic Fields• What are Block Fields?• Display Suite Override Templates• DS Custom Layouts• Display Suite Extras Full Reset Minimal Expert• Display • Panels vs. Display Suite
  13. Outline:• Maintainer of Display Suite• Display Purpose • Potential Use Cases• What are display modes?• How do you create new display modes?• What are Dynamic Fields• What are Block Fields?• Display Suite Override Templates• DS Custom Layouts• Display Suite Extras Full Reset Minimal Expert• Display • Panels vs. Display Suite
  14. Outline:• Maintainer of Display Suite• Display Purpose • Potential Use Cases• What are display modes?• How do you create new display modes?• What are Dynamic Fields• What are Block Fields?• Display Suite Override Templates• DS Custom Layouts• Display Suite Extras Full Reset Minimal Expert• Display • Panels vs. Display Suite
  15. Outline:• Maintainer of Display Suite• Display Purpose • Potential Use Cases• What are display modes?• How do you create new display modes?• What are Dynamic Fields• What are Block Fields?• Display Suite Override Templates• DS Custom Layouts• Display Suite Extras Full Reset Minimal Expert• Display • Panels vs. Display Suite
  16. Outline:• Maintainer of Display Suite• Display Purpose • Potential Use Cases• What are display modes?• How do you create new display modes?• What are Dynamic Fields• What are Block Fields?• Display Suite Override Templates• DS Custom Layouts• Display Suite Extras Full Reset Minimal Expert• Display • Panels vs. Display Suite
  17. Outline:• Maintainer of Display Suite• Display Purpose • Potential Use Cases• What are display modes?• How do you create new display modes?• What are Dynamic Fields• What are Block Fields?• Display Suite Override Templates• DS Custom Layouts• Display Suite Extras Full Reset Minimal Expert• Display • Panels vs. Display Suite
  18. Outline:• Maintainer of Display Suite• Display Purpose • Potential Use Cases• What are display modes?• How do you create new display modes?• What are Dynamic Fields• What are Block Fields?• Display Suite Override Templates• DS Custom Layouts• Display Suite Extras Full Reset Minimal Expert• Display • Panels vs. Display Suite
  19. Outline:• Maintainer of Display Suite• Display Purpose • Potential Use Cases• What are display modes?• How do you create new display modes?• What are Dynamic Fields• What are Block Fields?• Display Suite Override Templates• DS Custom Layouts• Display Suite Extras Full Reset Minimal Expert• Display • Panels vs. Display Suite
  20. Outline:• Maintainer of Display Suite• Display Purpose • Potential Use Cases• What are display modes?• How do you create new display modes?• What are Dynamic Fields• What are Block Fields?• Display Suite Override Templates• DS Custom Layouts• Display Suite Extras Full Reset Minimal Expert• Display • Panels vs. Display Suite
  21. Outline:• Maintainer of Display Suite• Display Purpose • Potential Use Cases• What are display modes?• How do you create new display modes?• What are Dynamic Fields• What are Block Fields?• Display Suite Override Templates• DS Custom Layouts• Display Suite Extras Full Reset Minimal Expert• Display • Panels vs. Display Suite
  22. Outline:• Maintainer of Display Suite• Display Purpose • Potential Use Cases• What are display modes?• How do you create new display modes?• What are Dynamic Fields• What are Block Fields?• Display Suite Override Templates• DS Custom Layouts• Display Suite Extras Full Reset Minimal Expert• Display • Panels vs. Display Suite
  23. Outline:• Maintainer of Display Suite• Display Purpose • Potential Use Cases• What are display modes?• How do you create new display modes?• What are Dynamic Fields• What are Block Fields?• Display Suite Override Templates• DS Custom Layouts• Display Suite Extras Full Reset Minimal Expert• Display • Panels vs. Display Suite
  24. Outline:• Maintainer of Display Suite• Display Purpose • Potential Use Cases• What are display modes?• How do you create new display modes?• What are Dynamic Fields• What are Block Fields?• Display Suite Override Templates• DS Custom Layouts• Display Suite Extras Full Reset Minimal Expert• Display • Panels vs. Display Suite