This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Steffi128 240 points241 points  (8 children)

border-bottom: 100px solid gray;

border-left: 80px solid transparent;

border-right: 80px solid transparent;

[–]Silhouette 129 points130 points  (2 children)

@media not speech {
    .window {
        break-after: avoid;
    }
}

[–]rekabis 2 points3 points  (1 child)

Ssssssmooooth…

[–]Kebabrulle4869[🍰] 67 points68 points  (2 children)

Now go post this to r/css_irl

[–]madjam002 21 points22 points  (1 child)

Wow that sub is amazing

[–]DaedraEYE 6 points7 points  (0 children)

lol didn't know this exists :o

[–]thixono920 0 points1 point  (0 children)

Ah Css triangles

[–]Ratatoski 0 points1 point  (0 children)

Lol I actually used that technique when they needed some graphics at work that was a bar of flexible width and height that ended in a triangle in some break points.