Skip to content

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

@majdal

Description

@majdal

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions