Home  >  Article  >  Web Front-end  >  DIV CSS English Naming Convention_Basic Tutorial

DIV CSS English Naming Convention_Basic Tutorial

PHP中文网
PHP中文网Original
2016-05-16 12:07:171484browse


div css english naming convention_basic tutorial

1. css id naming

外 套:  wrap 
主导航:  mainnav 
子导航:  subnav 
页 脚:  footet 
整个页面: content 
页 眉:  header 
页 脚:  footer 
商 标:  label 
标 题:  title 
主导航:  mainbav(globalnav) 
顶导航:  topnav 
边导航:  sidebar 
左导航:  leftsidebar 
右导航:  rightsidebar 
旗 志:  logo 
标 语:  banner 
菜单内容1: menu1 content 
菜单容量: menu container 
子菜单:  submenu 
边导航图标:sidebaricon 
注释:   note 
面包屑:  breadcrumb(即页面所处位置导航提示) 
容器:   container 
内容:   content 
搜索:   search 
登陆:   login 
功能区:  shop(如购物车,收银台) 
当前的   current

2. in addition, the comments available when editing the style sheet can be written like this:

<-- footer --> 
内容区 
<-- end footer -->

3. style file naming

主要的 master.css 
布局,版面 layout.css 
专栏 columns.css 
文字 font.css 
打印样式 print.css 
主题 themes.css

the above is the content of div css english naming convention_basic tutorial. for more related content, please pay attention to the php chinese website (www.php.cn)!


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn