When referencing a CSS style, a class references the writing of two styles (class = "ico001 icocom ").

Source: Internet
Author: User

It is generally used in the following situations:

 

Test001.jsp

<Div id = "contents">

<H1 class = "ico001 icocom"> title 001

</Div>

When two styles are used, separate them with spaces.

 

Test002.jsp

<Div id = "contents">

<H1 class = "ico002 icocom"> title 001

</Div>

------------------------------------------------------------------Priority:

Icocom has a higher priority than ico001

 

------------------------------------------------------------------

Benefits:

CSS file

Div # contents h1.ico001 {

 

}

Div # contents h1.ico002 {

}

Div # contents h1.icocom {

 

}

If this is not the case, you need to append the duplicate content in ico001 ico002.

 

Source:

The SP image corresponds to the pc sp image,

But the CSS of the application is different. The CSS of icocom will be introduced in SP.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.