[CSS] & [JQUERY] Selettori di pseudo-classe e di pseudo-elementi

I selettori di pseudo-classi sono preceduti da un segno di due punti (:) e riguardano uno stato o condizione particolare in cui si trova l’elemento (ad es., un link già visitato o no).
I selettori di pseudo-elementi sono preceduti da un doppio segno di due punti (::) e riguardano parti specifiche di un elemento (ad es., la prima lettera o riga).

    A

  1. :active
  2. ::after
  3. :animated
  4. B

  5. ::before
  6. :button
  7. C

  8. :checkbox
  9. :checked
  10. :contains()
  11. D

  12. :disabled
  13. E

  14. :empty
  15. :enabled
  16. :eq()
  17. :even
  18. F

  19. :file
  20. :first
  21. :first-child
  22. ::first-letter
  23. ::first-line
  24. :first-of-type
  25. :focus
  26. G

  27. :gt()
  28. H

  29. :has()
  30. :header
  31. :hidden
  32. :hover
  33. I

  34. :image
  35. :in-range
  36. :input
  37. :invalid
  38. L

  39. :lang()
  40. :last
  41. :last-child
  42. :last-of-type
  43. :link
  44. :lt()
  45. M

    N

  46. :not()
  47. :nth-child()
  48. :nth-last-child()
  49. :nth-last-of-type()
  50. :nth-of-type()
  51. O

  52. :odd
  53. :only-child()
  54. :only-of-type
  55. :optional
  56. :out-of-range
  57. P

  58. :parent
  59. :password
  60. Q

    R

  61. :radio
  62. :read-only
  63. :read-write
  64. :required
  65. :reset
  66. :root
  67. S

  68. :selected
  69. ::selection
  70. :submit
  71. T

  72. :target
  73. :text
  74. U

    V

  75. :valid
  76. :visible
  77. :visited
  78. X

    Y

    Z

css, jquery, selettori css e jquery

Related Articles

0 Comment

Rispondi