cuth / cuth/postcss-pxtorem

Media queries

Open
#12 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
2.2k
Forks
173
PR merge metrics
No merged PRs in 30d

Description

I develop version for smartphones for some project and use this plugin.
All styles compiles from pixels to rems, only base css rules are left in px, like this:

``` css
html { // for desktop
font-size: 14px;
}
@media (max-width: 500px) { // for phones
html {
font-size: 11px;
}
}
```

Generally it is good, fast and simple solution to make mobile version.
But for some ui blocks I use media queries overrides for small screen. And I want to keep this values in pixels. It will be good to have ability to ignore css rules in media queries (not there – @media (max-width: 500px) )

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.