R
R
RechAS2021-04-01 23:47:57
css
RechAS, 2021-04-01 23:47:57

What is the best way to create websites with vector elements?

I'm learning layout. Now I'm designing the site according to the layout . On the first screen, there are many vector smart objects (crosses, shapes). I want the site to be responsive. I use Photoshop to view the PSD. Please tell me the best practices for layout with similar elements.
60662f8c9cd61574711263.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vitaliy Pershin, 2021-04-02
@RechAS

If not too lazy, then you can save each shape separately (preferably in svg) and position it on the background, so the shapes will have a floating position and on other screens you can rebuild differently, remove half on mobile, etc.. it will look something like So :

background: url(../images/other/decor-figure-1.svg) no-repeat 53% 6%,
            url(../images/other/decor-figure-2.svg) no-repeat 45% 22%,
            url(../images/other/decor-figure-3.svg) no-repeat 82% 22%,
            url(../images/other/decor-figure-4.svg) no-repeat 45% 96%,
            url(../images/other/decor-figure-5.svg) no-repeat 83% 82%

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question