Pragmatic Guide to Sass 3: Tame the Modern Style Sheet

Hampton Lintorn Catlin, Michael Lintorn Catlin

  • 出版商: Pragmatic Bookshelf
  • 出版日期: 2016-08-16
  • 定價: $1,240
  • 售價: 9.0$1,116
  • 語言: 英文
  • 頁數: 150
  • 裝訂: Paperback
  • ISBN: 1680501763
  • ISBN-13: 9781680501766
  • 相關分類: CSS網頁設計
  • 立即出貨 (庫存=1)

買這商品的人也買了...

商品描述

Design websites faster than ever using Sass--the most mature and popular CSS meta-language. On any platform, integrate Sass into your project, create a reusable style guide, and use maps to drastically reduce duplication in your stylesheets. You'll see how to code the right way in Sass with short, clear examples on two-page spreads that show the explanation on one side and code examples on the other. This ultimate guide to using Sass, written by its creator, is updated and expanded with all the new features found in Sass 3.4, making you an expert in no time.

Sass lets you write CSS faster and more easily by enabling you to use features that regular CSS doesn't have yet. Bring the power of Sass to your projects, whether you use Node.js, Ruby, or any other programming language. This updated Pragmatic Guide gives you brief, targeted hands-on examples in an easy-to-follow modular format.

Use variables to easily change color values, measurements, or fonts across a whole project. Pare down large style sheets into comprehensible code with maps and placeholder selectors. Organize your Sass with media queries to make maintainable, responsive designs. Create your own layout systems and build shared tooling across projects that make designs more consistent. Learn the differences between extends and mixins. Build data structures to make creating site-wide color schemes a breeze, and use placeholder selectors to keep style sheets cleaner. Pass content through mixins, prevent accidental deep nesting of selectors, and use cutting-edge modular add-ons in the new Sass ecosystem, such as Eyeglass, Susy, and Bourbon Neat.

This revised guide covers all the new features in Sass 3.4, including selector parsing and manipulation. Make full use of all Sass's features by updating to the most mature and powerful CSS toolchain out there.

What You Need:

A solid understanding of CSS, and either comfort using the command line or installing GUI software on your computer. Sass 3.4 installed on any Mac, Linux, or Windows machine.

商品描述(中文翻譯)

使用Sass這個成熟且流行的CSS元語言,您可以比以往更快速地設計網站。在任何平台上,將Sass整合到您的專案中,創建可重複使用的樣式指南,並使用映射來大幅減少樣式表中的重複。您將看到如何以簡潔明瞭的範例在兩頁上正確地編寫Sass代碼,其中一頁顯示解釋,另一頁顯示代碼範例。這本由Sass的創作者撰寫的終極指南已更新並擴充,包含Sass 3.4中的所有新功能,讓您迅速成為專家。

Sass讓您能夠更快速、更輕鬆地編寫CSS,因為它使您能夠使用常規CSS尚未具備的功能。將Sass的強大功能應用於您的專案中,無論您使用Node.js、Ruby還是其他任何編程語言。這本更新的實用指南以易於遵循的模塊化格式,提供簡潔而有針對性的實例。

使用變數輕鬆更改整個專案中的顏色值、尺寸或字體。通過映射和佔位符選擇器將大型樣式表簡化為易於理解的代碼。使用媒體查詢來組織您的Sass,以實現易於維護的響應式設計。創建自己的佈局系統,並在項目之間建立共享工具,使設計更加一致。了解extends和mixins之間的區別。構建數據結構,輕鬆創建整個網站的配色方案,並使用佔位符選擇器使樣式表更加整潔。通過mixins傳遞內容,防止意外深層嵌套選擇器,並在新的Sass生態系統中使用尖端的模塊化附加組件,例如Eyeglass、Susy和Bourbon Neat。

這本修訂版指南涵蓋了Sass 3.4中的所有新功能,包括選擇器解析和操作。通過升級到最成熟且功能強大的CSS工具鏈,充分利用Sass的所有功能。

您需要具備扎實的CSS理解能力,並且要熟悉使用命令行或在計算機上安裝GUI軟件。在任何Mac、Linux或Windows機器上安裝Sass 3.4。