Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Quick Dive Into CSS Preprocessors

Quick Dive Into CSS Preprocessors

Learn about CSS Preprocessors and why you should start using them now!

Glory Praise Emmanuel

February 13, 2021
Tweet

Other Decks in Programming

Transcript

  1. WHAT IS CSS? CSS is a rule-based language that allows

    you to specify groups of styles that should be applied to particular elements or groups of elements on your web page. CSS handles the look and feel part of a web page. 01
  2. WHAT IS A CSS PREPROCESSOR? According to MDN Web Docs,

    A CSS preprocessor is a program that lets you generate CSS from the preprocessor's own unique syntax. CSS preprocessors extends the default functionality of CSS and enable you to use logic in your CSS code, such as variables, nesting, inheritance, mixins, functions, and mathematical operations. 02
  3. WHY SHOULD I USE ONE? They make the CSS structure

    more readable and easier to maintain. Reduces development time. A way of adding functionalities to CSS Flexibility Unlimited reusability(Obey the DRY rule). 03
  4. MISCONCEPTIONS ABOUT CSS PREPROCESSORS 05 Adds complexity to the development

    process You lose control over the final code It's hard to install Too hard to debug I need to know Ruby or node
  5. WHICH IS THE BEST? Things to consider before you choose

    one Ensure it fits your workflow Compatibility with existing code Available features Community Which feels better to you??? Note: They all have about the same functionalities 07
  6. WHAT DO I NEED TO KNOW TO GET STARTED? GOOD

    KNOWLEDGE OF CSS CODE EDITOR COMMAND LINE 08