CSS Layout Naming conventions

Source: Internet
Author: User
Tags header custom name

CSS Layout Naming conventions

Description: All class, need to expand, then in the current name with the "_" (underline) suffix custom name.
I used to call the list page as lists, the news list is newslist, the picture list is piclist,
Content page is view,
/**/
Overall Big frame: #wrapper
In the big frame: #Inwrapper
/////////////////////////////////////////////////////////////////////////////////////////////////////////
Top and Banner:. Top
Top and Banner:.Intop
Logo:.logo
Banner:.Banner
Navigation:.Menu
Inside Navigation:.Inmenu
.Menuul
.Menuul Li
.Menuul Li a
Drop down menu:.Inmenu_xiala
.Inmenu_xialaul
.Inmenu_xialaul Li
.Inmenu_xialaul Li a
///////////////////////////////////////////////////////////////////////////////////////////////////////////
Main content:.Mainwrapper
In the main content:.Inmainwrapper
Left stop:.Sideleft
Inside left:.Insideleft
Right column:.Sideright
Inside right:.Insideright
Middle:.Sidecenter
In the middle:.Insidecenter
/////////////////////////////////////////////////////////////////////////////////////////////////////////////
Bottom:.Foot
Bottom inside:.Infoot
////////////////////////////////////////////////////////////////////////////////////////////////////////////
/* Other Name * *
Search:.Search
Search inside:.Insearch
Search bar:.Searchselect
Search button:.Serachbuttom
Enter text box:.input
.Select

/* Table Style * *
Table Overall frame:.ListBox
Width of the table:.listbox-table
Table Header Text style:.Listbox-header
Table Body Text style:.Listbox-entry
/* Universal Type * *
General:.GM* * This is a bit depressing, English is too bad ... * *
Universal internal:.INGM
Universal left float:.GMFL(GM FLOAT left)
Universal right float:.GMFR(GM FLOAT right)
/* Universal Picture Style * *
Generic picture style:.img
* * Clear Floating * *
Clear all floats:. Clear
Clear left float:.Clearleft
Clear right float:.clearright
/* Text Style * *
Text:.Font
/* News list * *
News list:.fontnews
/*view page Font Total style * *
View Page font:.Fontview



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.