Skip to content

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

Open

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?

Activity

  1. gasolin commented on Jun 10, 2020

    @gasolin
    Owner

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions