Pseudo-element :: Pre- and



  • What difference ::before and :before? Or ::after and :after?


  • QA Engineer

    :beforeas well :after retained to support old browser. There's no difference.

    * CSS3 Synthaxis */

    element::before { свойства }

    / * CSS2 obsolete syntaxis (needed to support IE8 only) */

    element:before { свойства }

    ♪ https://developer.mozilla.org/ru/docs/Web/CSS/::before


Log in to reply
 


Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2