Skip to content

Pseudo-elements on images #4

Description

@KittyGiraudel

As far as I know, pseudo-elements do not work on replaced content. img is a replaced element, thus the ::after pseudo-element won't display anything.

More informations: http://red-team-design.com/css-generated-content-replaced-elements/.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions