我们这样来改进这一情况:我们对前述的规则补充一个规则,这一规则将出现在H1之内任何位置的EM元素的文本颜色设置为蓝色。
We address this case by supplementing the previous rules with a rule that sets the text color to blue whenever an em occurs anywhere within an h1.
最后,我们将看一个新look - and - feel的实例,在这个实例中您可以在一个文本文件中定义对颜色、字体和图标大小的设置。
Finally, we'll walk through a complete example of a new look and feel where you can define the Settings for the colors, fonts, and icon sizes in a simple text file.
我对悬停伪类(hover pseudoclass)也进行了设置,因为有一次当我悬停在该类的链接上时,会改变链接的悬停状态的颜色,从而背景图会消失。
I also included the hover pseudoclass since I had a problem that when I hovered over links with this class, they would turn the color of my link hover state, making the background image disappear.
应用推荐