mozilla
Your Search Results

    Pseudo-element

    This article is in need of a technical review.

    This article is in need of an editorial review.

    In CSS, a pseudo-element selector styles document content in special scenarios where there isn't an HTML element to grab. For instance, rather than putting the first letter of each paragraph in its own element, you can style them all with p::first-line.

    Learn more

    Technical reference

    Document Tags and Contributors

    Tags: 
    Contributors to this page: Andrew_Pfeiffer
    Last updated by: Andrew_Pfeiffer,