K
K
Konstantin Velichko2016-01-21 10:33:35
css
Konstantin Velichko, 2016-01-21 10:33:35

How to make such a separator corner as cross-browser as possible?

Help me make this thing (I can't find a name).
4f6a5d720caa4a089d75f17a079a0887.jpg
The top part of the picture is on top of the text and the button.
The bottom part is a slider or picture.
The layout is adaptive, it is important that it stretches.
came up with several ways

  1. CSS clip-path works as it should but only in chrome
  2. SVG cilp-path does not stretch as in step 1
  3. Canvas , I don't know how to do everything that happened from the link

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vladimir Io, 2016-01-21
@vawsan

Given that the element is adjacent to the picture, maybe it makes sense to combine them?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question