Instant SASS CSS How-to
暫譯: 即時 SASS CSS 實用指南
Alex Libby
- 出版商: Packt Publishing
- 出版日期: 2013-03-11
- 售價: $1,180
- 貴賓價: 9.5 折 $1,121
- 語言: 英文
- 頁數: 80
- 裝訂: Paperback
- ISBN: 1782163786
- ISBN-13: 9781782163787
-
相關分類:
CSS
海外代購書籍(需單獨結帳)
買這商品的人也買了...
-
$790$774 -
$490$323 -
$600$468 -
$390$308 -
$580$458 -
$250$198 -
$520$411 -
$320$253 -
$680$578 -
$490$387 -
$550$435 -
$550$363 -
$480$379 -
$1,130$961 -
$400$380 -
$490$417 -
$360$284 -
$420$332 -
$420$357 -
$360$306 -
$450$356 -
$500$395 -
$349$297 -
$480$379 -
$680$537
相關主題
商品描述
Learn to write more efficient CSS with the help of the SASS CSS library using practical, hands-on recipes
Overview
- Learn something new in an Instant! A short, fast, focused guide delivering immediate results.
- Learn how to download and install SASS and compile SASS code to validate CSS
- Learn how to use the various elements of SASS, such as mixins, variables, control directives, and functions to create valid CSS
- Use an external mixin library such as Compass with SASS to produce exciting effects and learn to create your own mixin library
In Detail
CSS styling has been a key part of developing for the Internet since the early 1990s, but unlike JavaScript, has suffered from the inability to produce dynamic styles, using functions, operators, and variables. SASS uses the power of Ruby to bring support for all three and more to your CSS, allowing you to engage in a more efficient, modular style of working, and making it easier to maintain your CSS styling in your projects.
Instant SASS CSS How-to is a practical, hands-on guide that provides you with a number of clear step-by-step exercises, which will help you take advantage of the power of SASS, and give you a good grounding in writing and compiling CSS style sheets using the SASS pre-processor language.
This book looks at how you can incorporate SASS into your web pages, and either produce style sheets dynamically, or pre-compile them before including the final article into your site’s pages.
You will also learn how you can use the power of mixins, functions, and variables to help produce style sheets, and reduce the amount of code you need to write in your style sheets. We will also take a look at how you can incorporate a more modular style to your development workflow, which will help with making style sheets more manageable and easier to update in the future. We will also take a look at how you can build up libraries of reusable code that you can incorporate into your future projects.
You will learn everything you need to know to start using SASS to help produce more efficient style sheets in your site’s pages, and adopt a more modular development workflow, which will make it easier to maintain your sites in the future.
What you will learn from this book
- Installing and using SASS in your site
- Compiling SASS code to produce valid CSS that you can use in your site’s pages
- Using variables, functions, mixins, control, and CSS-3 directives and operators in your SASS code
- Viewing SASS code in your browser
- Employing external mixin libraries such as Compass to add extra functionality to SASS
- Using SASS and Compass within CMS environments such as Wordpress
- Creating, importing, or using existing pre-built mixin libraries in your projects
- Altering your CSS output style in SASS, depending on your requirements
Approach
Filled with practical, step-by-step instructions and clear explanations for the most important and useful tasks. Get the job done and learn as you go. This book is filled with practical, hands-on recipes to help you write SASS quickly and more efficiently.
商品描述(中文翻譯)
學習如何使用 SASS CSS 函式庫撰寫更有效率的 CSS,透過實用的實作食譜
概述
- 立即學習新知!一本短小、快速、專注的指南,提供即時的結果。
- 學習如何下載和安裝 SASS,並編譯 SASS 代碼以驗證 CSS。
- 學習如何使用 SASS 的各種元素,例如 mixins、變數、控制指令和函數來創建有效的 CSS。
- 使用外部 mixin 函式庫如 Compass 與 SASS 來產生令人興奮的效果,並學習如何創建自己的 mixin 函式庫。
詳細內容
CSS 樣式自 1990 年代初期以來一直是網際網路開發的關鍵部分,但與 JavaScript 不同,CSS 無法使用函數、運算子和變數來產生動態樣式。SASS 利用 Ruby 的強大功能,為您的 CSS 提供對這三者及更多的支持,使您能夠採用更有效率的模組化工作方式,並使您在專案中更容易維護 CSS 樣式。
《Instant SASS CSS How-to》是一本實用的手把手指南,提供多個清晰的逐步練習,幫助您充分利用 SASS 的強大功能,並為您提供使用 SASS 預處理語言撰寫和編譯 CSS 樣式表的良好基礎。
本書探討如何將 SASS 整合到您的網頁中,並動態生成樣式表,或在將最終文章包含到您網站的頁面之前進行預編譯。
您還將學習如何利用 mixins、函數和變數的力量來幫助生成樣式表,並減少您在樣式表中需要撰寫的代碼量。我們還將探討如何將更模組化的風格納入您的開發工作流程,這將有助於使樣式表更易於管理並在未來更容易更新。我們還將看看如何建立可重用代碼的庫,以便您可以將其納入未來的專案中。
您將學習到開始使用 SASS 以幫助在您網站的頁面中生成更有效率的樣式表所需的所有知識,並採用更模組化的開發工作流程,這將使您在未來更容易維護您的網站。
您將從本書中學到的內容
- 在您的網站中安裝和使用 SASS
- 編譯 SASS 代碼以生成可在您網站的頁面中使用的有效 CSS
- 在您的 SASS 代碼中使用變數、函數、mixins、控制和 CSS-3 指令及運算子
- 在瀏覽器中查看 SASS 代碼
- 使用外部 mixin 函式庫如 Compass 為 SASS 增加額外功能
- 在如 Wordpress 的 CMS 環境中使用 SASS 和 Compass
- 在您的專案中創建、導入或使用現有的預建 mixin 函式庫
- 根據您的需求改變 SASS 中的 CSS 輸出樣式
方法
本書充滿實用的逐步指導和對最重要和有用任務的清晰解釋。完成工作並在過程中學習。本書提供了實用的手把手食譜,幫助您快速且更有效率地撰寫 SASS。