Modern CSS with Tailwind: Flexible Styling Without the Fuss
暫譯: 現代 CSS 與 Tailwind:靈活的樣式設計,無需繁瑣

Rappin, Noel

  • 出版商: Pragmatic Bookshelf
  • 出版日期: 2021-05-25
  • 售價: $1,230
  • 貴賓價: 9.5$1,169
  • 語言: 英文
  • 頁數: 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.

商品描述(中文翻譯)

Tailwind CSS 是一個令人興奮的新 CSS 框架,允許您通過組合簡單的工具類別來設計網站,以創建複雜的效果。使用 Tailwind,您可以為文本設計樣式、在頁面上移動項目、設計複雜的頁面佈局,並根據設備從手機到寬螢幕顯示器調整設計。通過這本書,您將學會如何利用 Tailwind 的靈活性和一致性,從排版的最小細節到整個網站的設計。

使用 CSS,您可以對網站上的基本文本和圖像做出驚人的改變,並且只需少量的客戶端代碼來添加和移除 CSS 類別,您可以做出指數級的增長。CSS 也可能難以調試、編寫複雜且難以維護——但這不必如此。使用 Tailwind,您可以最小化需要編寫的 CSS 數量,使其更容易控制和調試,同時仍然享有整個網站的靈活性和一致性。使用 Tailwind 構建複雜的頁面佈局,添加響應式設計以適應不同的螢幕寬度,並顯著減少所需的 CSS 數量。

Tailwind 的設置非常明確,僅通過查看 HTML 標記即可理解顯示效果。首先設計單個元素的排版細節,然後使用 flexbox 或 grid 設計將這些元素放置和操作在框中——每個元素在螢幕上佔據的矩形空間。使用有用的小動畫和過渡效果在頁面上移動這些元素。使用 Tailwind,原型設計、迭代和自定義顯示變得簡單。使用前綴來指定行為。更改默認值、添加新行為或與舊版 CSS 集成。

使用 Tailwind 來創造非凡的網頁設計,而不需要非凡的努力。

您需要的內容:

這本書是關於 Tailwind 2.0 的。您需要能夠安裝 Ruby on Rails 以運行示例應用程式。

作者簡介

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.

作者簡介(中文翻譯)

Noel Rappin是Root Insurance的資深工程師。Noel撰寫了多本技術書籍,包括Modern Front End Development For RailsRails 5 Test Prescriptions。他還主持了播客Tech Done Right。可以在Twitter上關注Noel,帳號是@noelrap,並在noelrappin.com上找到他的線上資訊。