CSS Naming conventions _ Experience Exchange

Source: Internet
Author: User

Page Header:Header
Login Bar:Loginbar
Sign:logo
Side bar:Sidebar
Advertising:Banner
Navigation:nav
Sub-navigation:Subnav
Menu:Menu
Sub Menu:submenu
Search:Search
Rolling:Scroll
Page Body:Main
Content:content
Label page:tab
List of articles:List
Prompt information:msg
Small tips:Tips
Column title:Title
Join:Joinus
Guide:Guild
Service:Service
Hot:Hot
News:News
Download:Download
Registered:Regsiter
State:Status
Button:btn
Vote:vote
Our Partners:Partner
Friendship Link:Friendlink
Footer:Footer
Copyright:Copyright

------------------------------------------------------->

Name of 1.CSS ID

CoatWrap
Main navigation:Mainnav
Sub-navigation:Subnav
FooterFooter
Entire page:content
HeaderHeader
FooterFooter
Trademarklabel
Titletitle
Main navigation:Mainbav (Globalnav)
Top Navigation:Topnav
Side navigation:Sidebar
Left navigation:Leftsidebar
Right navigation:Rightsidebar
Flag Blog:logo
SloganBanner
Menu Content 1:menu1content
Menu Capacity:Menucontainer
Sub Menu:submenu
Edge navigation icon:Sidebaricon
Comments: Note
Bread crumbs:breadcrumb(That is, the location of the page navigation tips)
Container:Container
Content:Content
Search:Search
Landing:Login
Functional area: Shop(e.g. shopping cart, cashier)
of the current Current

2. Notes that are available when editing a style sheet can be written like this:

<--Footer-->
Content Area
<--End Footer-->

3. style file naming

of the mainMaster.css
Layouts, layoutLayout.css
ColumnColumns.css
TextFont.css
Print stylePrint.css
ThemeThemes.css

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.