Content: content/container
Navigation: nav
Sidebar: sidebar
Column: column
Logo: logo
Page subject: main
Advertisement: banner
Hotspot: hot
News: news
Download: download
Subnavigation: subnav
Menu: menu
Search: search
Footer: footer
Scroll: scroll
Copyright: copyright
Link: friendlink
Sub menu: submenu
Content: content
Tab: tab
Article list: list
Registration: regsiter
Message: msg
Tips: tips
Join: joinus
Topic title: title
Guide: guild
Service: service
Status: status
Vote: vote
End: footer
Partner: partner
Logon entry: loginbar
Overall Layout width of the page peripheral control: wrapper
Left right center
(2) Comment writing:
/* Footer */
Content Area
/* End Footer */
(3) id name:
(1) Page Structure
Container: container header: header content: content/container
Page subject: main, footer: footer, navigation: nav
Sidebar: left right center, left or right center
Overall Layout width of the page peripheral control: wrapper
(2) Navigation
Navigation: nav
Main navigation: mainbav
Subnavigation: subnav
Top navigation: topnav
Side navigation: sidebar
Left Navigation: leftsidebar
Right navigation: rightsidebar
Menu: menu Sub-menu: submenu title: title Abstract: summary
(3) Functions
Logo: logo
Advertisement: banner
Login: login
Logon entry: loginbar
Registration: regsiter
Search: search
Functional Area: shop
Title: title
Join: joinus
Status: status
Button: btn
Scroll: scroll
Tab: tab
Article list: list
Message: msg
Current: current
Tips: tips
Icon: icon
Note: note
Guide: guild
Service: service
Hotspot: hot
News: news
Download: download
Vote: vote
Partner: partner
Link
Copyright: copyright
(4) class naming:
(1) color: use the color name or hexadecimal code, such
. Red {color: red ;}
. F60 {color: # f60 ;}
. Ff8600 {color: # ff8600 ;}
(2) font size: Use "font + font size" as the name, as shown in figure
. Font12px {font-size: 12px ;}
. Font9pt {font-size: 9pt ;}
(3) alignment style. Use the English name of the alignment target, as shown in figure
. Left {float: left ;}
. Bottom {float: bottom ;}
(4) use the "category + function" method to name the title bar style, as shown in figure
. Barnews {}
. Barproduct {}
Note:
1. All are in lower case;
2. Try to use English;
3. Do not add hyphens or underscores;
4. Try not to be abbreviated, except words that can be understood without looking at them.
Main master.css
Module module.css
Basic shared base.css
Themes.css
Columns.css
Print print.css
Text font.css
Form forms.css
Patch mend.css
Layout.css