Modern CSS with Tailwind: Flexible Styling Without the Fuss
Rappin, Noel
- 出版商: Pragmatic Bookshelf
- 出版日期: 2021-05-25
- 售價: $1,210
- 貴賓價: 9.5 折 $1,150
- 語言: 英文
- 頁數: 90
- 裝訂: Quality Paper - also called trade paper
- ISBN: 1680508180
- ISBN-13: 9781680508185
-
相關分類:
CSS
已過版
相關主題
商品描述
Tailwind CSS is an exciting new CSS framework that allows you to design your site by composing simple utility classes to create complex effects. With Tailwind, you can style your text, move your items on the page, design complex page layouts, and adapt your design for devices from a phone to a wide-screen monitor. With this book, you'll learn how to use the Tailwind for its flexibility and its consistency, from the smallest detail of your typography to the entire design of your site.
With CSS, you can do amazing things to the basic text and images on your website, and with just a little bit of client-side code to add and remove CSS classes, you can do exponentially more. CSS can also be hard to debug, complicated to write, and hard to maintain - Ã?Âbut it doesn't have to be. With Tailwind, you can minimize the amount of CSS you need to write, making it easier to control and debug, and yet still enjoy full flexibility and consistency across your site. Use Tailwind to build complex page layouts, add responsive design that adjusts to different screen widths, and dramatically reduce the amount of CSS you need.
The Tailwind setup is extremely explicit, and makes it possible to understand the display just by looking at the HTML markup. Start by designing the typographic details of the individual elements, then placing and manipulating those elements in the box - the rectangle of space each element takes up on screen - using a flexbox or grid design. Move those elements around the page with helpful small animations and transitions. With Tailwind, it's easy to prototype, iterate, and customize your display. Use prefixes to specify behavior. Change defaults, add new behavior, or integrate with legacy CSS.
Use Tailwind to make extraordinary web designs without extraordinary effort.
What You Need:
This book is about Tailwind 2.0. You need to be able to install Ruby on Rails to run the sample app.
作者簡介
Noel Rappinis a Staff Engineer at Root Insurance. Noel has authored multiple technical books, including Modern Front End Development For Rails and Rails 5 Test Prescriptions. He also hosted the podcast Tech Done Right. Follow Noel on Twitter at @noelrap and online at noelrappin.com.