Explore the power of PostCSS to write highly performing, modular, and modern CSS code for your web pages
About This BookIncorporate cutting-edge styles in your web pages with PostCSSSimplify the process of writing CSS to a great extent using PostCSS shortcuts, fallbacks, and pack pluginsThis in-depth, step-by-step guide will help you master PostCSS, to create amazing and responsive web designsWho This Book Is ForThis book is ideal for web developers and designers who are comfortable with HTML5 and CSS and now want to master PostCSS for web design. Web designers who have been using SASS or Less and now want to adopt PostCSS would also find this book useful.
What You Will LearnAdd mixin and variable support to PostCSS along with conditional supportExplore the different ways of nesting code such as BEM and standard nesting within PostCSSOptimize media queries built with PostCSS to get the best performanceAdd dynamic styling elements such as images, fonts, grids, and SVG and retina support using existing preprocessors as well as PostCSSGet familiar with using plugins, and extend PostCSS with the APIBuild a fully working custom preprocessor and test it on different sites such as WordPressWrite a custom syntax in PostCSS while still using pre-built syntaxes such as Less, SASS, or StylusProvide support for future CSS such as CSS4 using current CSS3 classesIn DetailPostCSS 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.
Style and approachThis comprehensive book provides in-depth guidance on how to build a PostCSS powered responsive site from scratch. Following a step-by-step approach, you will learn how to add modern styles to web pages. It also contains several tips and best practices on how you can optimize your sites by writing high performing code in PostCSS.