Skip to content

Quick question: why is the .line>span position set to absolute?  #6

@alvinalexander

Description

@alvinalexander

@wrongakram First of all, thanks for consistently putting out great front-end content. As a full-stack dev who wants to focus more on front-end, I've found your channel invaluable 💯

Now to my question. In part two while constructing the banner headline I noticed that you set .line > span to position absolute and I couldn't figure out why. Since you don't specify top, bottom left, or right I would expect the positioning to be unchanged and when I toggle this style I don't see any noticeable difference. Would you mind explaining the purpose of this style?

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