Home  >  Article  >  Web Front-end  >  CSS style problem: .calss.class{color:Red}_html/css_WEB-ITnose

CSS style problem: .calss.class{color:Red}_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:50:521232browse

style>
.d1.d2{ color:Red} /*What does .d1.d2 mean? I’m really confused (note: there is no space between .d1 and .d2)*/



AAAA


Reply to discussion (solution)

is the class attribute of the same element There must be both d1 and d2 class selectors in it for the style to take effect.


AAAA


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn