Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

media query extra space #15

Open
tomhodgins opened this issue Dec 16, 2016 · 0 comments
Open

media query extra space #15

tomhodgins opened this issue Dec 16, 2016 · 0 comments

Comments

@tomhodgins
Copy link

@media (min-width: 1px) {
  :root {
    background: lime;
  }
}

correct minification

@media(min-width:1px){:root{background:lime}}
  • whitespace not required after @media unless followd by a word like screen, etc.

CSSnano output

@media (min-width:1px){:root{background:lime}}
  • left optional whitespace after @media
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant