Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the commonly used DIV+CSS naming rules

2025-01-14 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

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.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report