component-styles.jade review: started.

This commit is contained in:
Zhimin YE (Rex) 2016-06-02 17:06:58 +01:00
parent 5f8583fcb0
commit a9f871efae
1 changed files with 2 additions and 2 deletions

View File

@ -6,8 +6,7 @@ block includes
everything we know about CSS stylesheets, selectors, rules, and media queries everything we know about CSS stylesheets, selectors, rules, and media queries
to our Angular applications directly. to our Angular applications directly.
Angular 2应用使用标准的CSS来设置样式。这意味着我们可以把关于CSS的那些知识和技能直接用于 Angular 2应用使用标准的CSS来设置样式。这意味着我们可以把关于CSS的那些知识和技能直接用于我们的Angular程序中比如样式表、选择器、规则以及媒体查询等。
我们的Angular程序中比如样式表、选择器、规则以及媒体查询等。
On top of this, Angular has the ability to bundle *component styles* On top of this, Angular has the ability to bundle *component styles*
with our components enabling a more modular design than regular stylesheets. with our components enabling a more modular design than regular stylesheets.
@ -32,6 +31,7 @@ block includes
* [Appendix 1: Inspecting the generated runtime component styles](#inspect-generated-css) * [Appendix 1: Inspecting the generated runtime component styles](#inspect-generated-css)
* [附录1: 审查生成的运行时组件样式](#inspect-generated-css) * [附录1: 审查生成的运行时组件样式](#inspect-generated-css)
* [Appendix 2: Loading Styles with Relative URLs](#relative-urls) * [Appendix 2: Loading Styles with Relative URLs](#relative-urls)
* [附录2使用相对URL加载样式](#relative-urls)
p Run the #[+liveExampleLink2()] of the code shown in this chapter. p Run the #[+liveExampleLink2()] of the code shown in this chapter.
p 运行本章这些代码的#[+liveExampleLink2()] p 运行本章这些代码的#[+liveExampleLink2()]