App background

Asked

Viewed 17 times

1

I wonder if there’s a way to make triangles with div’s that are responsive like the background of an app, or if it’s better to use a vector image. If you refer me to a website with veotorial images, I would be very happy too.
Thank you for your attention.

1 answer

0

It is possible to do so:

#triangulo{
  width: 0px;
  height: 0px;
  border-width: 100px;
  border-color: green green transparent transparent;
  border-style: solid;
}
<div id="triangulo"> 
</div>

  • Okay! Thank you. But I need her to be responsive and I don’t think I can do it.

  • I don’t know anymore. I think we can do with CSS3 canvas.

  • If you have the use of SVG in mind, I believe it would be possible using Inkscape.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.