Common CSS naming

Source: Internet
Author: User

1. CSS comments

 
/*----------------------------------------- Filename: base.css Author: Libing
Version: 1.0.0 createdate: 2013-03-17 Description: Contents: modifier: Libing modifydate: 2013-03-17
Version: 1.0.1 Description: Contents :-------------------------------------------*/

2. CSS file name

Basic public: base.css

Layout: layout.css

Themes.css

Module: modules.css

Column: columns.css

Text: font.css

Form: forms.css

Print: print.css

Scroll bar: scrollbar.css

3. CSS file

Base.css

 /*  ------------------------------------------ Filename: base.css Author: Libing version: 1.0.0 createdate: 2013-03-17 Description: Contents: modifier: Version: modifydate: Description: Contents: Quota :---------------------------------------------  */  * { Margin : 0 ; Padding : 0 ;} Body {} A: Link {} A: visited {} A: hover {} A: active {} OL, UL { List-style : None ;} Table { Border-collapse : Collapse ; Border-spacing : 0 ;}

Forms.css

/*------------------------------------------ Filename: forms.css Author: Libing version: 1.0.0 createdate: 2013-03-17 Description: Contents: modifier: Version: modifydate: Description: Contents: External :---------------------------------------------*/IMG{Border:None;}

4. Common CSS naming

Background Image: BG _

Button: BTN _

Icons: icon _ such as icon_delete and icon_search

Tab: tab_bg, tab_icon_selected, and tab_icon_normal

Header: Header

Page topic: Main

Footer: footer

Logo: logo

Banner

Top bar: topbar

Sidebar: sidebar

Drop-down Bar: slidebar

Toolbar: Toolbar

Navigation: nav

Subnavigation: subnav

Menu: Menu

Sub menu: submenu

Search: Search

Search bar: searchbar

Search box: searchbox

Message: msg

TIPS: Tips

Title: Title

Abstract: Summary

Registration: Register

Logon: Login

Service: Service

News: News

Download: Download

Hotspot: hot

Guide: Guide

Join us: joinus

Contact Us: contractus

About Us: aboutus

Link: friendlink

Copyright: Copyright

Partner: Partner

Status: Status

Vote: Vote

Notice announcement: Notice

Note: Note

Desktop: Desktop

Welcome: Welcome

Thumbnail: thumbnail

Highlight: highlight

Preface: Preface

Company Profile: Profile

Corporate Culture: Culture

Qualification Certification: Quality Certification

Organization: Organization

Business Scope: Business Scope

Industry news: Trade News

Industry news: Trends

Brand: Brand

Specification: Specification

Industry: Industry

Planning: Programming

Feedback: Feedback

FAQ

Special Report: Special Report

5. CSS Compression

Csstidy: The http://csstidy.sourceforge.net/

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.