Skip to content

[Feature Request] UI for CSS border-image #5767

@iocouto

Description

@iocouto

CSS border-image properties have been well supported on all major browsers for a while, and they enable us to build elements that have framing and borders that would otherwise be extremely complex or downright impossible. It would be amazing if Webstudio made it easier for Designers and Developers to implement image-based borders.

The way I picture the UI/UX:

  1. User selects 'image' as an option in the 'Border' editor — the editor expands to show additional 'border image' options
  2. User selects source image, and image appears in the editor, with 4 'guide' lines (2 horizontal, 2 vertical)
  3. User drags the guide lines to set border-image-slice properties — or alternatively, user can enter values (in px or %) in fields below image
  4. Optionally, user selects border-image-repeat options from a dropdown menu ('stretch' is default, like CSS)
  5. Optionally, user can also specify a border-image-outset value in a field.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions