Your SlideShare is downloading. ×
0
CSS3 Selectors
CSS3 Selectors
CSS3 Selectors
CSS3 Selectors
CSS3 Selectors
CSS3 Selectors
CSS3 Selectors
CSS3 Selectors
CSS3 Selectors
CSS3 Selectors
CSS3 Selectors
CSS3 Selectors
CSS3 Selectors
CSS3 Selectors
CSS3 Selectors
CSS3 Selectors
CSS3 Selectors
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

CSS3 Selectors

400

Published on

Published in: Technology
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
400
On Slideshare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
25
Comments
0
Likes
2
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. CSS3 Selectors BY MURILLO GRUBLER
  • 2. Old selectors* .class #id element element, element .class element, elemento, #id
  • 3. New selectors element1~element2  :nth-of-type(n) [attribute^=value]  :nth-last-of-type(n)  :last-child [attribute$=value]  :root [attribute*=value]  :empty :first-of-type  :target :last-of-type  :enabled :only-of-type  :disabled :only-child  :checked :nth-child(n)  :not(selector)  ::selection :nth-last-child(n)
  • 4. Element ~ Element
  • 5. element[attribute^=value]
  • 6. element[attribute$=value]
  • 7. element[attribute*=value]
  • 8. element:first-of-type
  • 9. element:last-of-type
  • 10. element:only-of-type
  • 11. element:only-child
  • 12. element:nth-child(n)
  • 13. element:nth-child(2n - 1)Bracket the functions math
  • 14. element:nth-of-type(2n - 1)
  • 15. element:last-child (2n - 1)
  • 16. element:empty
  • 17. :not(element)

×