L
L
Lakewake2011-06-22 14:43:58
css
Lakewake, 2011-06-22 14:43:58

Slanted edges with css?

Is it possible with css?

image

Answer the question

In order to leave comments, you need to log in

4 answer(s)
H
homm, 2011-06-22
@vedmaka

jsfiddle.net/homm/DxBrq/

W
WilliamKidd, 2011-06-22
@WilliamKidd

transform: skew(45deg)

B
Bronislav Kornev, 2015-08-20
@BULcH

&:before {
content: ' ';
display: block;
width: 0;
height: 0;
border-style: solid;
border-width: 0 15px 135px 0;
border-color: transparent #fff transparent transparent;

And by analogy with after

A
Andrey, 2015-12-27
@svistiboshka

jsfiddle.net/DxBrq/499

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question