I need to make a div like this.
I made it in clip-path, but the problem is that I have to insert the content into div (some text) that came out of div barrier, if anyone has a solution how to get a diagonal border (top, left), I would be grateful
I need to make a div like this.
I made it in clip-path, but the problem is that I have to insert the content into div (some text) that came out of div barrier, if anyone has a solution how to get a diagonal border (top, left), I would be grateful
2
Answers
an idea for the diagonal border ,
you can use this example to impliment the diagonal borders
and, I can share with you some links that used to use when I started the journey in frontend development you can use and it will save some of your time
-JD
you can use
skew
: