Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering Responsive Web Design

You're reading from   Mastering Responsive Web Design Push your HTML and CSS skills to the limit and build professional grade, responsive websites

Arrow left icon
Product type Paperback
Published in Aug 2015
Publisher
ISBN-13 9781783550234
Length 334 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Ricardo Zea Ricardo Zea
Author Profile Icon Ricardo Zea
Ricardo Zea
Arrow right icon
View More author details
Toc

Table of Contents (10) Chapters Close

Preface 1. Harness the Power of Sass for Responsive Web Design FREE CHAPTER 2. Marking Our Content with HTML5 3. Mobile-first or Desktop-first? 4. CSS Grids, CSS Frameworks, UI Kits, and Flexbox for RWD 5. Designing Small UIs Driven by Large Finger 6. Working with Images and Videos in Responsive Web Design 7. Meaningful Typography for Responsive Web Design 8. Responsive E-mails Index

Summary

We covered a lot in this chapter, but the best is yet to come. We learned how to install Sass and how to make it watch our SCSS files. We also learned that there are two different syntaxes: Sass and SCSS. We now know that any CSS file is a valid SCSS file, and if we know how to write CSS now, we also know how to write SCSS. We talked about different basic concepts of Sass like variables, mixins, arguments, nesting, partial files, the @import directive, source maps, and Sass comments.

We also learned what vendor prefixing is and the different ways out there that help automate this process. We decided to use Prepros for the following tasks: watch, compile the SCSS files and automate prefixing. We learned to create a partial file to house our media queries mixin called _mediaqueries.scss. We also learned different methods to name media queries with the basic mixin that shows us how simple dealing with media queries can be while adhering to the best practice of letting the content define the breakpoints.

In the next chapter, we're going to dive into HTML5 and how to mark up our content to prepare it for RWD. Get your snorkels ready!

You have been reading a chapter from
Mastering Responsive Web Design
Published in: Aug 2015
Publisher:
ISBN-13: 9781783550234
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime