Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other Problem with CSS selectors

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #173217
    MT Fresco
    Participant

    I am using :after and :before for making shapes and putting content and code is working as per my requirement. I recently saw a post somewhere and discussion was about : vs :: I read all the article and discussion but I did not find anything special in it. Do you know what is the difference.

    #173222
    Paulie_D
    Member

    https://developer.mozilla.org/en-US/docs/Web/CSS/Pseudo-elements

    Sometimes you will see double colons (::) instead of just one (:). This is part of CSS3 and an attempt to distinguish between pseudo-classes and pseudo-elements. Most browsers support both values.

    My emphasis

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Other’ is closed to new topics and replies.