How to make a corner?

c159a25e0a064e90b573fac33429617a.pngdon't understand how to implement such a block
Most importantly, one side one color the other another.
July 8th 19 at 16:20
2 answers
July 8th 19 at 16:22
Solution
I have a problem, I need to make the whole screen this unit - Deon98 commented on July 8th 19 at 16:25
vh and fixed, and there is a need to specify in pixels - Deon98 commented on July 8th 19 at 16:28
July 8th 19 at 16:24
div.wrapper
div.first_block
 div.second_block


Easiest option - set .wrapper already prepared the background
For-harder - .wrapper position: relative;, the child elements specify position: absolute; (top, right, left, bottom, - 0), and then https://css-tricks.com/examples/ShapesOfCSS/
The right side should be a slider, so as to solve the problem?take the wrapper that is with photoshop? - Deon98 commented on July 8th 19 at 16:27

Find more questions by tags HTMLCSS