標題: title
摘要: summary
箭頭: arrow
商標: label
網(wǎng)站標志: logo
轉(zhuǎn)角/圓角: corner
橫幅廣告: banner
子菜單: subMenu
搜索: search
搜索框: searchBox
登錄: login
登錄條:loginbar
工具條: toolbar
下拉: drop
標簽頁: tab
當前的: current
列表: list
滾動: scroll
服務(wù): service
提示信息: msg
熱點:hot
新聞: news
小技巧: tips
下載: download
欄目標題: title
熱點: hot
加入: joinus
注冊: regsiter
指南: guide
友情鏈接: friendlink
狀態(tài): status
版權(quán): copyright
按鈕: btn
合作伙伴: partner
投票: vote
左右中:left right center
/Footer/
內(nèi)容區(qū)
/End Footer/
頁面結(jié)構(gòu)
容器: container
頁頭:header
內(nèi)容:content/container
頁面主體:main
頁尾:footer
導(dǎo)航:nav
側(cè)欄:sidebar
欄目:column
頁面外圍控制整體布局寬度:wrapper
左右中:left right center
導(dǎo)航
導(dǎo)航:nav
主導(dǎo)航:mainbav
子導(dǎo)航:subnav
頂導(dǎo)航:topnav
邊導(dǎo)航:sidebar
左導(dǎo)航:leftsidebar
右導(dǎo)航:rightsidebar
菜單:menu
子菜單:submenu
標題: title
摘要: summary
功能
標志:logo
廣告:banner
登陸:login
登錄條:loginbar
注冊:regsiter
搜索:search
功能區(qū):shop
標題:title
加入:joinus
狀態(tài):status
按鈕:btn
滾動:scroll
標簽頁:tab
文章列表:list
提示信息:msg
當前的: current
小技巧:tips
圖標: icon
注釋:note
指南:guild
服務(wù):service
熱點:hot
新聞:news
下載:download
投票:vote
合作伙伴:partner
友情鏈接:link
版權(quán):copyright
顏色:使用顏色的名稱或者16進制代碼,如
.red { color: red; }
.f60 { color: #f60; }
.ff8600 { color: #ff8600; }
字體大小,直接使用”font+字體大小”作為名稱,如
.font12px { font-size: 12px; }
.font9px {font-size: 9pt; }
對齊樣式,使用對齊目標的英文名稱,如
.left { float:left; }
.bottom { float:bottom; }
標題欄樣式,使用”類別+功能”的方式命名,如
.barnews { }
.barproduct { }
注意事項::
一律小寫;
盡量用英文;
不加中杠和下劃線;
盡量不縮寫模燥,除非一看就明白的單詞.
【推薦的 CSS 書寫順序】:
顯示屬性
display
list-style
position
float
clear
自身屬性
width
height
margin
padding
border
background
文本屬性
color
font
text-decoration
text-align
vertical-align
white-space
other text
content