K
K
Kappy2018-12-11 22:29:31
css
Kappy, 2018-12-11 22:29:31

Random shapes in the background?

For example, here 's how to do something like that, in terms of geometric shapes? For example, there is a triangle or a heart with dimensions of 40x40 pixels and randomly scatter them at different angles on bg? Are there prebuilt libraries? Googled it, didn't find it.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Max, 2018-12-11
@KappyJS

Here is an article under CSS
Habr
Or rather, this part

background-image:  url("media/fishing.svg"), url("media/mermaid.svg"), url("media/sea.png");  
    background-position: top right 10px, bottom left, top left;
    background-repeat: no-repeat, repeat-x, repeat-x ;

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question