There can be multiple classes, and the later ones have higher priority
I know! There can be multiple classes, but for this problem, he only defined one class name "user_wrap clear" and when using it, he can split the class name and use it. Is it related to the space?
Well . . . Yes, multiple class names should be separated by spaces. For example, if there are three class names .a .b .c , when you use them, just use class="a b c ". The later, the higher its priority. high. For example, you use a b c to define three different colors, and then only display the color of c. . You can try
"user_wrap clear" does not define only one class name, but two
A div can use many classes at the same time, and the difference class needs to be added at the end Space. Like what was said on the 3rd floor.
Because classes can be shared by many divs, so
Thank you everyone!
A div can use many classes at the same time, and spaces need to be added at the end to distinguish classes. Like what was said on the 3rd floor.
Because classes can be shared by many divs, so