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

Developer mode #153

Open
johanflote opened this issue May 6, 2015 · 1 comment
Open

Developer mode #153

johanflote opened this issue May 6, 2015 · 1 comment

Comments

@johanflote
Copy link

When you are developing, it would be nice to have a mode where you only get the vanilla css properties instead of all the -webkit, -moz -yada so you can more easily toggle the property's state.

Example:

.flex(1) produces

  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;

It would be nice if you only got:

  flex: 1;
@Deele
Copy link

Deele commented Mar 16, 2017

The main purpose of LessHat is to have vendor prefixes for features that are not yet defined in css spec, to make something work as intended. They are not there, if they are not needed.

Imagine situation where you develop without prefixes, you look at result and are confident, then you turn on prefixes and it is broken again. How will you proceed? Do not turn on "developer mode" and develop until it works?

Anyway, that would require to include implications in all mixins and generate another file like lesshat-novendorprefixes.less and that is quite a work and will make it harder in future to maintain them.

I don't see value high enough for this feature to counterweight work involved in implementing it.

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

2 participants