Skip to content

Instantly share code, notes, and snippets.

@httpspace
Last active August 29, 2015 14:16
Show Gist options
  • Save httpspace/6ffafb357089b3828313 to your computer and use it in GitHub Desktop.
Save httpspace/6ffafb357089b3828313 to your computer and use it in GitHub Desktop.
css名詞解釋
CSS名詞解釋
::AFTER 指定元素內後面後插入內容
::HOVER 選擇元素並予以stype當滑鼠移入該元素時
::BEFORE 指定元素內前面插入內容
::nth-child(3n+2) 選擇所有從0開始偏移2的元素, 這裡是依序選取 2, 5, 8, 11 ....的元素(由2個元素開始遞加3的元素)
#name{} 指定元素id = name的元素
.name{} 指定元素class = name的元素
Name{} 指定元素tag name = Name的元素
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment