Skip to content

[css-backgrounds-4] Extruding border corners (negative border-radius) #2811

@Meteor0id

Description

@Meteor0id

Just leaving a quick thought here, think it might be worth exploring further.

We can currently give a corner a border-radius, giving us rounded borders. But what if we don't want them rounded, but rahter want them extra spiky?

This could be used just to create some fun spiky corners, or it could be used to create interior corners. these interior corners were the main motivation behind this suggestion.

Here an example of how a new setting with some kind of negative ratio could be used to create the illusion of a nagative corner between two divs.
This is only a quick initial thought, exploring this further to a point where it could enter a draft will take much more, but let's start somewhere.

css_draft_neg_border_radius

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions