Mastering PostCSS for Web Design

Alex Libby

  • 出版商: Packt Publishing - ebooks Account
  • 出版日期: 2016-06-30
  • 定價: USD $34.99
  • 售價: $1,369
  • 貴賓價: 9.5$1,301
  • 語言: 英文
  • 頁數: 414
  • 裝訂: Paperback
  • ISBN: 1785885898
  • ISBN-13: 9781785885891
  • 相關翻譯書: 深入PostCSS Web設計(Mastering PostCSS for Web Design)

下單後立即進貨 (1~2週)

商品描述

Key Features

  • Incorporate cutting-edge styles in your web pages with PostCSS
  • Simplify the process of writing CSS to a great extent using PostCSS shortcuts, fallbacks, and pack plugins
  • This in-depth, step-by-step guide will help you master PostCSS, to create amazing and responsive web designs

Book Description

PostCSS is a tool that has quickly emerged as the future of existing preprocessors such as SASS and Less, mainly because of its power, speed, and ease of use. This comprehensive guide offers in-depth guidance on incorporating cutting-edge styles into your web page and at the same time maintaining the performance and maintainability of your code.

The book will show how you can take advantage of PostCSS to simplify the entire process of stylesheet authoring. It covers various techniques to add dynamic and modern styling features to your web pages. As the book progresses, you will learn how to make CSS code more maintainable by taking advantage of the modular architecture of PostCSS. By the end of this book, you would have mastered the art of adding modern CSS effects to web pages by authoring high performing, maintainable stylesheets.

What you will learn

  • Add mixin and variable support to PostCSS along with conditional support
  • Explore the different ways of nesting code such as BEM and standard nesting within PostCSS
  • Optimize media queries built with PostCSS to get the best performance
  • Add dynamic styling elements such as images, fonts, grids, and SVG and retina support using existing preprocessors as well as PostCSS
  • Get familiar with using plugins, and extend PostCSS with the API
  • Build a fully working custom preprocessor and test it on different sites such as WordPress
  • Write a custom syntax in PostCSS while still using pre-built syntaxes such as Less, SASS, or Stylus
  • Provide support for future CSS such as CSS4 using current CSS3 classes

About the Author

Alex Libby's background is in IT support―he has been involved in supporting end users for almost 20 years in a variety of different environments; a recent change in role now sees Alex working as an MVT test developer for a global distributor based in the UK. Although Alex gets to play with different technologies in his day job, his first true love has always been the open source movement, and in particular, experimenting with CSS/CSS3, jQuery, and HTML5. To date, Alex has written 10 books on subjects such as jQuery, HTML5 video, SASS, and CSS for Packt and has reviewed several more―Mastering PostCSS Web Design is Alex's eleventh book for Packt.

Table of Contents

  1. Introducing PostCSS
  2. Creating Variables and Mixins
  3. Nesting Rules
  4. Building Media Queries
  5. Managing Colors, Images, and Fonts
  6. Creating Grids
  7. Animating Elements
  8. Creating PostCSS Plugins
  9. Working with Shortcuts, Fallbacks, and Packs
  10. Building a Custom Processor
  11. Manipulating Custom Syntaxes
  12. Mixing Preprocessors
  13. Troubleshooting PostCSS Issues
  14. Preparing for the Future