Skip to content
This repository was archived by the owner on Nov 19, 2025. It is now read-only.

CSS media queries without space after keyword broken #221

@jakubito

Description

@jakubito

Media queries typed like this

@media( max-width:650px){}

will end up minified to this

@media max-width:650px){}

which breaks the syntax rules and browser will exclude whole media query.
Always have a space character after @media keyword for proper minification.
Already opened here nitra/PhpMin#6

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