D
D
del9937882015-11-02 15:25:07
css
del993788, 2015-11-02 15:25:07

How to make a trapezoid full screen with certain dimensions?

Hello. It was necessary to make a trapezoid and, by googling, I came across an article on Habré habrahabr.ru/post/126207 . But this is not quite the trapezoid that I need. I don't think this is realistic at all... How do I make a trapezoid where the left side is 560px and the top and bottom sides are slanted 15 degrees. top +15, bottom -15 degrees... The right side of the trapezoid is unknown, since the height of the trapezoid will be different for different screen sizes, and the width of the trapezoid will be equal to the width of the screen.0670996d0f1d4f588f3ef431e5dd0603.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
L0k1, 2015-11-02
@L0k1

css transform + perspective

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question