Home > Web Front-end > HTML Tutorial > Please tell me, what does this mean_html/css_WEB-ITnose

Please tell me, what does this mean_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:54:26
Original
1131 people have browsed it

.shine {
display: block;
....
}
.button:hover .shine {left: 24px;}
.button:active .shine {opacity : 0;}

I don’t know what the pseudo-class followed by the style name here means. I would like to ask a master, thank you for clarifying


Reply to the discussion ( Solution)

.a:hover .b{
left: 24px;
}





That is, when you put the mouse on the first div, the left=24px of the div with class="b"

5 types of selectors you can learn
Tag Class ID Derived Combination

This is a derived selector. Pay attention to the hierarchical relationship. There must be spaces in the middle.

.a :hover .b{
left: 24px;
}





That is, when you put the mouse on the first div, the left=24px of the div with class="b"

5 kinds of selectors can be used Learn
tag class id derived combination

This belongs to the derived selector. Pay attention to the hierarchical relationship. There must be spaces in the middle.

Thank you
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template