B
B
Boris Belov2018-02-20 16:54:28
css
Boris Belov, 2018-02-20 16:54:28

How to make perspective in CSS like this (transform)?

Good day.
5a8c2774c79e8658337284.png
I am making a layout with GIF animation, but the image itself with a laptop is 1400 * 600 pixels, and I understand that it will weigh about 3-4 megabytes.
I'm thinking of doing it differently. Make the image with the laptop itself using JPG.
And make a GIF with an image on the monitor separately, but expand it in CSS.
I understand that this is done somehow through transform: rotateY( -25deg ); but this parameter is not enough.
Who can help?
This is the form that should be obtained
5a8c288c7a6ff306994483.png
--- The
maximum that is obtained in this case is
d96518406c.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
aloky, 2018-02-20
@aloky

Type in google)transform generator online

K
Kirill Kublyakov, 2018-02-20
@Kublyakov

https://developer.mozilla.org/en-US/docs/Web/CSS/t...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question