DIV CSS English naming convention_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:29:21
Original
908 people have browsed it

1. Naming of CSS ID
Jacket: wrap
Main navigation: mainnav
Sub-navigation: subnav
Footer: footet
Entire page: content
page eyebrow: header
footer: footer
brand: label
title: title
main navigation: mainbav (globalnav)
top navigation: topnav
side navigation: sidebar
left Navigation: leftsidebar
Right navigation: rightsidebar
Flag: logo
Slogan: banner
Menu content 1: menu1 content
Menu capacity: menu container
Submenu: submenu
Side navigation icon: sidebarIcon
Note: note
breadcrumb: breadcrumb (i.e. navigation prompt of the page location)
container: container
content: content
search: search
login: Login
Ribbon: shop (such as shopping cart, checkout counter)
Current current
2. In addition, the comments available when editing the style sheet can be written like this:
<-- Footer -- >
Content area
<-- End Footer -->
3. Style file naming
Main master.css
Layout, layout layout.css
Column columns .css
Text font.css
Print style print.css
Theme themes.css

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template