In the following exercises, make use of the following declarations(one per line) background-color: silver; font-size: larger; Theres will be referred to as " the background declaration" and "the text declaration," respectively.Write a single style rule that applies the background and text declarations to both p and em elements.
时间: 2023-12-03 12:42:31 浏览: 58
文字和背景的颜色搭配实例
The style rule would be:
```css
p, em {
background-color: silver;
font-size: larger;
}
```
阅读全文