What are the commonly used DIV+CSS naming rules
Today, the editor will share with you the relevant knowledge points of the commonly used DIV+CSS naming rules, which are detailed in content and clear in logic. I believe most people still know too much about this knowledge, so share this article for your reference. I hope you can get something after reading this article.
The above is the name and rule of the popular CSS+DIV:
Header: header
Login bar: loginBar
Logo: logo
Sidebar: sideBar
Widely advertised: banner
Navigation: nav
Subnavigation: subNav
Menu: menu
Submenu: subMenu
Search: search
Migration transition: scroll
Page body: main
Mode: content
Tag page: tab
List of articles: list
Hint message: msg
Talent strategy: tips
Column title: title
Friendship link: friendLink
Footer: footer
Participation: joinus
Guide: guild
Steward: service
Hot spot: hot
Movement: news
Download: download
Registration: regsiter
Shape: status
Button: btn
Voting: vote
Collaboration partner: partner
Copyright: copyRight
Naming of CSS ID
Coat: wrap
Main navigation: mainNav
Subnavigation: subnav
Footer: footer
Entire page: content
Header: header
Footer: footer
Brand No.: label
Topic: title
Main navigation: mainNav (globalNav)
Top navigation: topnav
Edge navigation: sidebar
Left navigation: leftsideBar
Navigation on the right: rightsideBar
Flag: logo
Slogan: banner
Menu mode 1:menu1Content
Menu capacity: menuContainer
Submenu: submenu
Edge navigation icon: sidebarIcon
Section: note
Bread crumbs: breadCrumb (navigation hint where the page is located)
Container: container
Form: content
Search: search
Login: login
Function area: shop (e. G. shopping cart, cashier)
The current current
CSS style document naming
Main: master.css
Layout: layout.css
Column: columns.css
Pen and ink: font.css
Plot style: print.css
These are all the contents of the article "what are the commonly used DIV+CSS naming rules?" Thank you for reading! I believe you will gain a lot after reading this article. The editor will update different knowledge for you every day. If you want to learn more knowledge, please pay attention to the industry information channel.