B
B
BigCrazyCat2015-10-22 15:53:31
Design
BigCrazyCat, 2015-10-22 15:53:31

How to make stuff like this?

How to make stuff like this? Only CSS + JS?
64286b7b39ea45ecab553b41c518a0a7.png3664dd2b2d7c4c8c9d1e340d04be0e07.png41a3e15354354cd2b17eb181d4355f7c.jpg03f88d6c75c64da5bffb1a235f086087.png

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Denis Ineshin, 2015-10-22
@BigCrazyCat

HTML+CSS3 - the basis
of SVG/Canvas - for complex, non-standard effects (like graphs or blurry backgrounds).
And so, many of these effects, especially if they are static, you can simply insert background pictures and that's it. They've always done it that way. It is very difficult to repeat in the browser what the designer drew in Photoshop on a hundred layers.

T
titronfan, 2015-10-22
@titronfan

Divas =)

G
GreatRash, 2015-10-22
@GreatRash

As I understand it, we are talking about blur ...
1) If you have speed as a priority, then it's better not to do it at all. For this effect is wildly slow.
2) If you don't care about performance, you can use filters.
3) If there is no scroll on the page, or you know exactly where the elements will be located, or the elements will never change their position at all, then you can make two pictures (normal and blurred) and show one as the background of the block, and the second as the background element above this block. Like that .
The only clarification: for all three cases, a fairly new browser (IE8+) is required because the support for the background-position: fixed rule is required .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question