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允许开发者用外联的样式表来取代那些难以维护的内嵌样式,这几秒钟之内就可改变全站的设计。
We converted all style attributes to class attributes and defined CSS classes to perform the same function as the inline defined style attributes.
我们把所有的style属性转换为class属性,并定义了css类,当inline定义了style属性时,使用这个css类来执行相同的函数。
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.
例如,某个元素可能同时应用了内联样式规则和来自样式表的样式规则。
应用推荐