Instead of making hard-to-maintain inline style changes, CSS allows the web developer to simply call an external style sheet, and make a site-wide design change, in a matter of seconds.
CSS允许开发者用外联的样式表来取代那些难以维护的内嵌样式,这几秒钟之内就可改变全站的设计。
When you create a new style sheet, those pesky inline styles you hastily added will come back to haunt you and you'll spend hours hunting them down and stripping them out.
如果你建立了新的样式表,那分散在HTML代码中的嵌入式CSS会给你带来很大麻烦,你可能会花几小时的时间来剥离他们。
You can style it from within the style sheet or inline on a specific image.
你可以在一个设计表上设计它,也可以在一个具体的图像上内嵌设计。
It also indicates whether these rules are inline, in a style sheet, or on the current page.
它还可指示这些规则在样式表或当前页面中是否为内联样式。
In that case, the inline style rule overrides the style sheet rule.
在这种情况下,内联样式规则将重写样式表规则。
For example, an element might have both an inline style rule and a style rule from a style sheet applied to it.
例如,某个元素可能同时应用了内联样式规则和来自样式表的样式规则。
For example, an element might have both an inline style rule and a style rule from a style sheet applied to it.
例如,某个元素可能同时应用了内联样式规则和来自样式表的样式规则。
应用推荐