Skip to content

[css-shapes] Actually change the shape of the element and not just visually. #12379

Open
@Lutrian1

Description

@Lutrian1

One main thing I have been struggling with (for my personal site) is the fact that you can't actually change the shape of the HTML element. Every element is always square shaped. Here is a example of what I mean:

Image

Or another:

Image

What if I actually want to change that element to having a rough edge. Or a triangle. I have been personally struggling with this for my own site. Because I now have to move those blocks into each other while styling the element as a certain shape. Wouldn't it make much more sense if those elements can just be fitted into each other like building blocks. Here is my example:

Image

As you can see the element has a margin to where it goes into the other element, because they are square. It is styled as a triangle using polygon or svg for example. But the second example shows both HTML elements as a triangle perfectly next to each other.

This may be redundant but it will save having to think of weird ways of piecing blocks together.

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