个样式规则由两部分组成:选择器(selector )和样式声明(style declaration )。选择器表明要为哪一个元素设置样式,样式声明则表明要应用哪些样式属性。
基于20个网页-相关网页
declaration style 声明风格
Listing 3 provides an example of an embedded style declaration that really should be held within an external CSS file for greater code maintainability.
清单3提供了嵌入样式声明的一个例子,该声明应该保留在一个外部CSS文件内以便获得更好的代码可维护性。
While there are major syntactic differences among the tools' aspect declaration style, the core AOP semantics are similar.
虽然工具的方面声明风格之间存在主要的语法差异,但是核心的aop语义是类似的。
In fact, since "using every declaration just once" might mean a higher number of selectors, this could even result in a bigger style sheet.
事实上,应用“每种声明只使用一次”的规则,很可能造成更多数量的选择器,从而使得文件更大。
应用推荐