伪元素选择器

  • E:first-letter/E::first-letter

      设置对象内的第一个字符的样式。
    
  • E:first-line/E::first-line

      设置对象内的第一行的样式。
    
  • E:before/E::before

      设置在对象前(依据对象树的逻辑结构)发生的内容。用来和content属性一起使用
    
  • E:after/E::after

      设置在对象后(依据对象树的逻辑结构)发生的内容。用来和content属性一起使用
    
  • E::placeholder

      设置对象文字占位符的样式。
    
  • E::selection

      设置对象被选择时的样式。
    

results matching ""

    No results matching ""