CSS DIV tag naming convention
Login bar: loginBar-
Logo: logo-
Sidebar: sideBar-
Advertisement: banner-
Navigation: nav-
Sub-navigation: subNav-
Menu: menu-
Sub-menu: subMenu-
Search: search-
Scroll: scroll-
Page body: main-
Content: content-
Tab: tab-
Article list: list-
Prompt message: msg-
Tips: tips-
Column title: title-
Friendly link: friendLink-
Footer: footer-
Join: joinus-
Guide: guild-
Service: service-
Hotspot: hot-
News: news-
Download: download-
Registration: regsiter-
Status: status-
Button: btn-
Vote: vote-
Partner: partner-
Copyright: copyRight-
-
Naming of CSSID-
Coat: wrap-
Main navigation: mainNav-
Sub-navigation: subnav-
Footer: footer-
Whole page: content-
Header: header-
Footer: footer-
Trademark: label-
Title: title-
Main navigation: mainNav(globalNav)-
Top navigation: topnav-
Side navigation: sidebar-
Left navigation: leftsideBar-
Right navigation: rightsideBar-
Flag: logo-
Slogan: banner-
Menu content 1: menu1Content-
Menu capacity: menuContainer-
Submenu: submenu-
Side navigation icon: sidebarIcon-
Note: note-
BreadCrumb (that is, where the page is) Location navigation prompt)-
Container: container-
Content: content-
Search: search-
Login: login-
Functional area: shop (such as shopping cart, checkout)-
Current current-
-
Style file naming-
Main: master.css-
Layout: layout.css-
Columns: columns.css-
Text: font.css-
Printing style: print.css-
Theme: themes.css-
The above is the content of CSS DIV tag naming convention, more related Please pay attention to the PHP Chinese website (m.sbmmt.com) for content!