Skip to content

Two same CSS properties on same dom element does not work #368

@seawerst

Description

@seawerst

This code is perfectly valid CSS:

 .emailsender {
    font-size: medium;
    font-size: max(16px, 1rem);
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%; width: 100%;
}

but because there are two of the same properties (font-size), Premailer will only take the second one and ignore the first one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions