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

Support float: inline-start and float: inline-end #22

Open
majdal opened this issue Jun 10, 2020 · 1 comment
Open

Support float: inline-start and float: inline-end #22

majdal opened this issue Jun 10, 2020 · 1 comment

Comments

@majdal
Copy link

majdal commented Jun 10, 2020

Thanks for the super useful plugin!

I noticed that float: inline-start and float: inline-end are not supported by the package. And of the browsers, they are currently only supported by Firefox:

https://developer.mozilla.org/en-US/docs/Web/CSS/float

I'm guessing that support would look like the following:

.foo {
  float: inline-start;
}

Then translates to:

.foo {
  float: left;
}

html[dir="rtl"] .foo {
  float: right;
}

I haven't written any postcss plugins before, but if the maintainers are ok with it, I can try to create a pull request for the feature. Does that make sense?

@gasolin
Copy link
Owner

gasolin commented Jun 10, 2020

thanks for the suggestion,
welcome to contribute!

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