sass快速入门

tech2022-12-20  138

sass快速入门

Hey everybody,

大家好

I have a huge announcement to make! Just a few days ago, we added the final touches to our latest masterpiece in the Jump Start collection: Jump Start Sass.

我要宣布一个大公告! 就在几天前,我们为Jump Start系列的最新杰作“ Jump Start Sass”添加了最后的修饰。

I have been working closely with SitePoint for the past months to write a book on Sass dedicated to people wanting to learn more about the preprocessor, its language and how to use it in daily projects to help boost productivity.

在过去的几个月中,我一直与SitePoint紧密合作,为Sass撰写一本书,专门针对希望了解有关预处理器,其语言以及如何在日常项目中使用它以提高生产力的人们。

Miriam Suzanne (the author of Susy and the True testing framework) and I have joined forces to offer you a result that is not only comprehensive, but also simple and accessible. Basically, it's 157 pages of awesomeness (in my un-biased opinion!).

Miriam Suzanne ( Susy和True测试框架的作者)和我一起为您提供了不仅全面,而且简单易用的结果。 基本上,这是157页的绝妙效果(以我的偏见!)。

里面有什么? (What’s in there?)

Here is the table of contents and a few words on each chapter to get you hungry:

这是目录,每章都有几句话让您感到饥饿:

Foreword (by no other than Chris Eppstein)

前言 ( 克里斯·埃普斯坦 ( Chris Eppstein )

Hello World — An introduction to Sass in modern front-end development, its history, its syntaxes (Sass and SCSS) as well as its competitors (LESS, Stylus and PostCSS).

Hello World-关于Sass在现代前端开发中的介绍,其历史,语法(Sass和SCSS)以及其竞争对手(LESS,Stylus和PostCSS)。

Getting Started — A short explanation on how to install Sass binaries (both the Ruby gem and node-sass) and how to use them to compile Sass stylesheets to CSS.

入门 -有关如何安装Sass二进制文件(Ruby gem和node-sass)以及如何使用它们将Sass样式表编译为CSS的简短说明。

Variables — An extensive chapter on variables, how they work, how to use them, when and why, closed with a comparison with CSS Custom Properties.

变量 -关于变量,变量如何工作,如何使用它们,何时以及为什么的广泛章节,通过与CSS自定义属性的比较来结束。

Functions & Mixins — A chapter dedicated to mastering functions and mixins to start building small systems.

功能和混入 -一章专门掌握功能和混入以开始构建小型系统。

Loops & Conditions — A concise explanation of how logical structures work in Sass, mainly loops and conditions statements, and how to use them to build powerful mixins.

循环和条件 -简要说明Sass中的逻辑结构如何工作,主要是循环和条件语句,以及如何使用它们构建功能强大的mixin。

Nesting — A reminder on the nesting feature, mostly focused on selector nesting, providing helpful tips to avoid being lost in the dreaded horizontal pyramid of selectors.

嵌套 -嵌套功能的提醒,主要集中在选择器嵌套上,提供了有用的提示,以避免迷失在可怕的选择器水平金字塔中。

Extend — A solid introduction to the @extend directive and how to avoid bloated output when using it.

Extend —对@extend指令的扎实介绍,以及使用它时如何避免输出过大。

Warnings & Errors — An introduction to the ability to emit warnings and throw errors directly from within stylesheets, as well as why and when doing so makes sense.

警告和错误 -介绍直接在样式表中发出警告和引发错误的功能,以及这样做的原因和时间。

Architecture — A massive chapter on different approaches to Sass-powered project architecture, including OOCSS, ITCSS, SMACSS and more.

架构 —关于Sass驱动的项目架构的不同方法的大量章节,包括OOCSS,ITCSS,SMACSS等。

Ecosystem — The final chapter introduces you to the Sass ecosystem, its main toolkits, libraries and frameworks such as Bourbon, Susy, Accoutrement, SassDoc, Sass-Guidelines, Modular Scale, SCSS-lint and many many more.

生态系统 -最后一章向您介绍Sass生态系统,其主要工具包,库和框架,例如波旁威士忌,Susy,Accoutrement,SassDoc,Sass指南,模块化规模,SCSS-lint等。

That covers quite a lot, doesn't it?

这涵盖了很多,不是吗?

这本书是给谁的? (Who is this book for?)

As you can guess from the table of contents, this book is essentially targeted to newcomers and beginners, all the way up to the intermediate level. This is part of SitePoint's Jump Start series, so it's not aimed at advanced Sass users.

正如您从目录中可以猜到的那样,这本书实际上是针对新手和初学者的,一直到中级水平。 这是SitePoint的“快速入门”系列的一部分,因此它并非针对高级Sass用户。

However if you feel a bit short on Sass, are not too sure about how to tackle project architecture or simply find yourself in need of a refresher, you’ll be pleased. I promise that.

但是,如果您对Sass不太满意,对于如何处理项目体系结构不太确定,或者只是觉得自己需要复习,您会感到满意的。 我保证。

On top of this book, I recommend you bookmark the SitePoint Sass Reference as a quick reference for features tackled in this book, as well as Sass Guidelines to push the quality of your Sass code to the next level.

在本书的顶部,建议您将SitePoint Sass参考作为书签,以快速了解本书中涉及的功能,并建议您使用Sass指南将Sass代码的质量提高到一个新的水平。

It's available on SitePoint Premium, SitePoint's subscription service, or you can order a print or ebook version via O'Reilly.

它可以在SitePoint Premium (SitePoint的订阅服务)上使用,也可以通过O'Reilly订购印刷版或电子书版。

Alright. Go read it now, and let us know what you think!

好的。 现在就去阅读,让我们知道您的想法!

翻译自: https://www.sitepoint.com/introducing-our-newest-book-jump-start-sass/

sass快速入门

相关资源:jdk-8u281-windows-x64.exe
最新回复(0)