how-to-write-css

CSSの書き方

Basic

a:visited

a:link

a:hover

hr

img,

amp-img

iframe

textarea

strong

Layout

body

.wrap

footer

.body-footer

Parts

.top

.body-header .top img

.body-footer .top img

.blog-desc

.body-header .main-menu-title

.body-footer .main-menu-title

.menu-title

.ad

.copyright

Searchform

.searchform

.searchform input

.searchform .searchbutton

Header Article

.header-article

.header-article-title

.header-article-title.no-thumbnail

.header-article-title h1

Pagination

.pagination

.pagination .page-numbers

.pagination .current,

.pagination .prev,

.pagination .next

.pagination .current

.pagination a

Menu

.menu-wrap a:visited

.menu-wrap li,

.menu-wrap div

.menu-wrap .two-columns

.two-columns-wrap a:nth-child(even) div

.two-columns

.body-footer .footer-menu-wrap ,menu-wrap div

Article

article *

article h1

article h2

article h3

article h4,

article h5,

article h6,

Article Body

.article-body p

.article-body input

.article-body>ul

.article-body>ol

.article-body>ul>li,

.article-body>ol>li

.article-body .wp-ccaption

table

.article-body>table

.article-body>table th,

.article-body>table td,

・・・

Article list

.article-list

.article-list>li

.article-list>li:last-child

.article-list a:link

.thumbnail-culumn

.title-culumn

.title-culumn a

.article-title

Breadcrumb

.breadcrumb-wrap a:visited

.breadcrumb-wrap a:link

.breadcrumb-separater

.breadcrumb-wrap ul,

.breadcrumb-wrap li

.breadcrumb-wrap>ul>li

Tag

.tag-wrap a

.tag-wrap a::before

.tag-wrap a:hover

.tag-wrap a:hover::before

Commnet

li.comment

li.comment img

.comment-respond h3,

.commnet-respond p

p.commnet-form-comment label