Home > Web Front-end > HTML Tutorial > CSS DIV tag naming convention

CSS DIV tag naming convention

PHP中文网
Release: 2016-06-24 12:32:44
Original
1034 people have browsed it


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!


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
Latest Articles by Author
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template