Home > Web Front-end > HTML Tutorial > A simple question about css_html/css_WEB-ITnose

A simple question about css_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:24:24
Original
1031 people have browsed it


I know what a .right1 means. Adding a .small means that both of them use this style? Or .small is a subclass

        .right1 .small        {            float: left;            margin: 10px;            width: 60px;            _display: inline;            text-align: center;        }
Copy after login


Reply to discussion (solution)

This style only works on classes under the class="right1" element ="small " element

This method only works on class="small " element under class="right1" element

Thank you! :)

This method only works on class="small" elements under the class="right1" element

Related labels:
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