我试图在我的CSS中将字体大小更改添加到特定的P标签.
我做了一个新的类.mainbg p {xxxx},但这是行不通的.奇怪的是,当我为该p添加文本阴影时,同一个类起作用.我不明白为什么它对此不起作用.
我添加了CSS类
.mainbg p {
font-size: bold!important;
}
哪也没做.
我试图在我的CSS中将字体大小更改添加到特定的P标签.
我做了一个新的类.mainbg p {xxxx},但这是行不通的.奇怪的是,当我为该p添加文本阴影时,同一个类起作用.我不明白为什么它对此不起作用.
我添加了CSS类
.mainbg p {
font-size: bold!important;
}
哪也没做.