O
O
One of Us2018-03-30 15:14:20
css
One of Us, 2018-03-30 15:14:20

How to make blocks in the form of a parallelogram?

How to make such blocks in CSS and HTML. No content distortion inside.
5abe2a0ed6d6d931694851.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Senseich, 2018-03-30
@Senseich

Use transform: rotate(deg angle) for block

A
Artem Ponomarev, 2018-03-30
@goldmayor

It can also be implemented using border'a. I myself needed such a feature on my site, but I didn’t figure it out with the border, so I had to use skew.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question