E-book details

Instant SASS CSS How-to. Learn to write more efficient CSS with the help of the SASS CSS library using practical, hands-on recipes

Instant SASS CSS How-to. Learn to write more efficient CSS with the help of the SASS CSS library using practical, hands-on recipes

Alex Libby

Ebook
CSS styling has been a key part of developing for the Internet since the early 1990s, but unlike JavaScript, has suffered from the inability to produce dynamic styles, using functions, operators, and variables. SASS uses the power of Ruby to bring support for all three and more to your CSS, allowing you to engage in a more efficient, modular style of working, and making it easier to maintain your CSS styling in your projects.Instant SASS CSS How-to is a practical, hands-on guide that provides you with a number of clear step-by-step exercises, which will help you take advantage of the power of SASS, and give you a good grounding in writing and compiling CSS style sheets using the SASS pre-processor language.This book looks at how you can incorporate SASS into your web pages, and either produce style sheets dynamically, or pre-compile them before including the final article into your site's pages.You will also learn how you can use the power of mixins, functions, and variables to help produce style sheets, and reduce the amount of code you need to write in your style sheets. We will also take a look at how you can incorporate a more modular style to your development workflow, which will help with making style sheets more manageable and easier to update in the future. We will also take a look at how you can build up libraries of reusable code that you can incorporate into your future projects.You will learn everything you need to know to start using SASS to help produce more efficient style sheets in your site's pages, and adopt a more modular development workflow, which will make it easier to maintain your sites in the future.
  • Instant SASS CSS How-to
    • Instant SASS CSS How-to
    • Credits
    • About the Author
    • About the Reviewer
    • www.PacktPub.com
      • Support files, eBooks, discount offers and more
        • Why Subscribe?
        • Free Access for Packt account holders
    • Preface
      • What this book covers
      • What you need for this book
      • Who this book is for
      • Conventions
      • Reader feedback
      • Customer support
        • Downloading the example code
        • Errata
        • Piracy
        • Questions
    • 1. Instant SASS CSS How-to
      • Downloading and installing SASS (Must know)
        • Getting ready
        • How to do it...
        • How it works...
      • Adding support to text editors (Must know)
        • Getting ready
        • How to do it...
        • How it works...
      • Pre-compiling SASS (Must know)
        • Getting ready
        • How to do it...
        • How it works...
        • Theres more...
      • Viewing SASS in a browser (Become an expert)
        • Getting ready
        • How to do it...
        • How it works...
        • There's more
      • Using nested rules (Must know)
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Using comments in SASS (Should know)
        • Getting ready
        • How to do it...
        • How it works...
      • Getting interactive with Script (Become an expert)
        • Getting ready
        • How to do it...
        • How it works...
      • Using CSS-3 directives in SASS (Must know)
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Controlling output in SASS (Must know)
        • Getting ready
        • How to do it...
        • How it works...
      • Creating and using mixins (Must know)
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Building functions within SASS (Must know)
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Altering output style (Should know)
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Using a pre-built mixin library (Should know)
        • Getting ready
        • How to do it...
        • How it works...
      • Writing mixins developing a style (Must know)
        • Getting ready
        • How to do it...
        • How it works...
      • Downloading and installing Compass (Should know)
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Creating sprites using Compass and SASS (Become an expert)
        • Getting ready
        • How to do it...
        • How it works...
      • Using vendor prefixes and Compass (Become an expert)
        • Getting ready
        • How to do it...
        • How it works...
      • Building a slider using Compass (Become an expert)
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Using SASS with Wordpress (Become an expert)
        • Getting ready
        • How to do it...
        • How it works...
      • Using Compass in WordPress (Become an expert)
        • Getting ready
        • How to do it...
        • How it works...
      • The different versions of SASS an explanation
      • A template for the book recipes
  • Title: Instant SASS CSS How-to. Learn to write more efficient CSS with the help of the SASS CSS library using practical, hands-on recipes
  • Author: Alex Libby
  • Original title: Instant SASS CSS How-to. Learn to write more efficient CSS with the help of the SASS CSS library using practical, hands-on recipes
  • ISBN: 9781782163794, 9781782163794
  • Date of issue: 2013-02-22
  • Format: Ebook
  • Item ID: e_3cg5
  • Publisher: Packt Publishing