Skip to content

Don't Repeat Yourself or the DRY method #6

@tommygebru

Description

@tommygebru

Consider using the DRY method to apply css styles to the html elements once or fewer times, instead of having to write out font-family in your css document multiple times.

Don't repeat yourself for the following styles: font-family and font-weight styles
You can also stack your css selectors to group styles and apply them once 👍
for example:

h1, h2, a {font-weight: bold}

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