CSS: styling when element has two classes

后端 未结 3 1319
后悔当初
后悔当初 2021-01-17 07:26

I have been looking at the w3 page on css selectors and have not found any promising leads, so I thought I would ask...

Is there a way to style a single element with

3条回答
  •  情歌与酒
    2021-01-17 07:56

    I just tried the code you put up, and it works fine (on Chrome at least). Maybe there is a mistake in your CSS elsewhere, or some other style is overriding it.

提交回复
热议问题