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
WBOYOriginal
2016-06-24 12:24:241034browse


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;        }


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

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