S
S
Seva2015-11-05 18:43:50
css
Seva, 2015-11-05 18:43:50

How is it done?

113ad16e9d5443ce8038d2f853a5c17c.png
a44b50635e3e4bbebb71e596cc968c32.png
f4781097c26e491590eb6883abd718c9.png
Tooltip "triangle", which is part of the image. How?
UPD I know how to make a triangle and how to position it, how does the right piece of the photo appear in the triangle?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
T
tef, 2015-11-05
@Zewkin

If it's not svg, but it's most likely svg, then it's css clipping and masks. Read here .

N
Niko Frost, 2015-11-05
@Frosty88

We just made a triangle in CSS, applied it to the second block, glued it together. And then the effect was brought out through hover. That's it. Pure CSS.

V
Vladislav Kopylov, 2015-11-05
@kopylov_vlad

sort of like this:

<div class="field">
 <div class="triangle"></div>
 <div class="content"></div>
</div>

and then css with positioning comes into
play

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question