Another important example is CSS.
另一个重要的例子是CSS。
With CSS 3 the story is far worse.
对于CSS3来说,情况就更糟糕了。
Design maintainable CSS structure.
设计可维护的CSS结构。
DO make good use of CSS inheritance.
DO -充分利用CSS的继承性。
CSS is form, while HTML is function.
CSS是形式,而HTML是功能。
So how is the CSS information included?
因此CSS信息是如何包括的?
Use standard CSS properties if possible.
尽可能使用标准的CSS属性。
In Listing 4, we see a typical CSS file.
在清单4中,我们将看到一个典型的CSS文件。
Now you just need to tweak some CSS.
现在只需要调整CSS。
CSS is separate code with its own syntax.
CSS是单独的代码,具有它自己的语法。
The original CSS file can be thrown away.
原始的CSS文件可以被遗弃。
And your CSS is in its own directory, too.
而且您的CSS也在自己的目录中。
You will even learn CSS if you use it.
你甚至还可以用它来学习CSS。
为何要使用CSS ?
Don't worry about CSS; just build the basic page.
不用担心css;只需构建基础页面。
Most of the work in this example is done using CSS.
本例的大部分工作是使用CSS完成的。
Particularly valuable is the Index of CSS properties.
尤其是CSS 属性的索引很有价值。
A text box is a division with a specific CSS and text.
文本框是带有特定CSS和文本的分区。
Then create a new CSS file inside of that theme folder.
然后创建该主题文件夹中的新CSS文件。
The CSS file is open for editing in the CSS editor.
CSS文件会在CSS编辑器中打开。
Also notice you have added some CSS to show invalid data.
此外还增加了一些CSS显示无效的数据。
Now you can open the CSS Designer to modify the style sheets.
现在您可以打开CSS设计器来修改样式表。
You can see exactly which CSS rules match for an element.
你可以精确的看到哪条css规则和哪个元素匹配。
You will use some CSS shortly as part of data validation.
很快将使用CSS作为数据验证的一部分。
Then you can override the styles you choose with your own CSS.
然后,再用您自己的CSS覆盖所选择的个别样式。
Then you can override the styles you choose with your own CSS.
然后,再用您自己的CSS覆盖所选择的个别样式。
应用推荐