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

default value for 0 #262

Open
Krknv opened this issue Apr 22, 2014 · 2 comments
Open

default value for 0 #262

Krknv opened this issue Apr 22, 2014 · 2 comments

Comments

@Krknv
Copy link

Krknv commented Apr 22, 2014

le0px -> left: 0;
le0em -> left: 0;
le0 -> left: 0;
etc.

но хотелось бы:

le0px -> left: 0px;
le0em -> left: 0em;
le0 -> left: 0px;
etc.

@lunelson
Copy link

Afaik 0 doesn't usually need units, and for this reason most css-minifiers strip out the units on 0 values anyway unless it is a percentage. There are a few CSS bugs (with flexbox for example) where some browsers need a unit on the 0, and in these cases you have to use 0% to avoid the minifier removing it

@Krknv
Copy link
Author

Krknv commented Mar 14, 2016

Now, chrome have ability to inc/dec values by up/down arrows, and maybe that feature isn't necessary

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants