
Pragmatic Guide to Sass 3
Description
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
Sass lets you write CSS faster and more easily by enabling you to use features that regular CSS doesn't have yet. Bring the power of Sass to your projects, whether you use Node.js, Ruby, or any other programming language. This updated Pragmatic Guide gives you brief, targeted hands-on examples in an easy-to-follow modular format.
Use variables to easily change color values, measurements, or fonts across a whole project. Pare down large style sheets into comprehensible code with maps and placeholder selectors. Organize your Sass with media queries to make maintainable, responsive designs. Create your own layout systems and build shared tooling across projects that make designs more consistent. Learn the differences between extends and mixins. Build data structures to make creating site-wide color schemes a breeze, and use placeholder selectors to keep style sheets cleaner. Pass content through mixins, prevent accidental deep nesting of selectors, and use cutting-edge modular add-ons in the new Sass ecosystem, such as Eyeglass, Susy, and Bourbon Neat.
This revised guide covers all the new features in Sass 3.4, including selector parsing and manipulation. Make full use of all Sass's features by updating to the most mature and powerful CSS toolchain out there.
What You Need:
A solid understanding of CSS, and either comfort using the command line or installing GUI software on your computer. Sass 3.4 installed on any Mac, Linux, or Windows machine.
More details
Persons
Content
- Cover
- Table of Contents
- Acknowledgments
- Welcome!
- Who Is This Book For?
- Nomenclature and Syntax
- Overview
- How to Read This Book
- Getting Help
- A Few Final Comments
- Part I-Language Basics
- Task 1. Installing Sass
- Task 2. Scoping Selectors with Nesting
- Task 3. Commenting
- Task 4. Advanced Scoping
- Task 5. CSS Output Styles
- Task 6. Importing Files
- Task 7. Defining Variables
- Task 8. Keeping Code Clean with Mixins
- Part II-Simple Use Cases
- Task 9. Calculating a Simple Layout
- Task 10. Creating Themes with Advanced Colors
- Task 11. Resetting CSS
- Task 12. Using Media Queries
- Task 13. Organizing Your Style Sheets
- Part III-Advanced Mixins
- Task 14. Adding Mixin Arguments
- Task 15. Using More Mixin Argument Tricks
- Task 16. Controlling Flow with @if
- Task 17. Manipulating @content
- Task 18. Using Mixins for Cross-Browser Compatibility
- Part IV-Values in Sass
- Task 19. Understanding Value Types in Sass
- Task 20. Interpolating
- Task 21. Using Lists to Work with Multiple Properties
- Task 22. Looping Through Lists
- Task 23. Manipulating Lists
- Task 24. Using Maps for More Detailed Collections
- Task 25. Looping Through Maps
- Task 26. Manipulating Maps
- Task 27. Using Maps for Namespace Configuration
- Part V-Advanced Language Features
- Task 28. Creating Your Own Functions
- Task 29. Debugging Your Sass
- Task 30. Using & to Implement BEM
- Task 31. Using @extend as a Mixin Alternative
- Task 32. Using Placeholders with @extend
- Task 33. Understanding the Dangers of @extend
- Task 34. Escaping Indentation with @root
- Part VI-Libraries and Frameworks
- Task 35. Fully Featured Frameworks
- Task 36. Using Grid Systems for Layout
- Task 37. Introducing Eyeglass
- Task 38. Doing Math with Eyeglass
- Task 39. Spriting with Eyeglass
- A1. SassScript Function Reference
- A2. Introduction to Haml
- Haml Walkthrough: ERB
- Haml Walkthrough: HTML
- Index
- - SYMBOLS -
- - A -
- - B -
- - C -
- - D -
- - E -
- - F -
- - G -
- - H -
- - I -
- - J -
- - K -
- - L -
- - M -
- - N -
- - O -
- - P -
- - Q -
- - R -
- - S -
- - T -
- - U -
- - V -
- - W -
- - Z -
System requirements
File format: ePUB
Copy protection: Watermark-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Use a reading software that can process the file format ePUB: e.g., Adobe Digital Editions or FBReader – both free (see eBook Help).
- Tablet/Smartphone (Android; iOS): Before downloading, install the free app Adobe Digital Editions (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (not Kindle).
The file format ePUB works well for novels and non-fiction books – i.e., „flowing” text without complex layout. On an e-reader or smartphone, line and page breaks automatically adjust to fit the small displays.
This eBook uses Watermark-DRM, a „soft” copy protection. This means that there are no technical restrictions to prevent illegal distribution. However, there is a personalised watermark embedded in the eBook that can be used to identify the purchaser of the eBook in the event of misuse and to provide evidence for legal purposes.
For more information, see our eBook Help page.