triangle effect in div with css3, how?

0

I wanted to know if you have a way to make a div look similar to this effect, so how can someone give you an example? I have no idea where to start.

    
asked by anonymous 10.06.2018 / 17:09

1 answer

1

My friend, just adjust the sizes of the border in question ... abcs

	.lado1{
		
  content: "";
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
  width: 0; 
  height: 0; 

  border-left: 280px solid transparent;
  border-right: 1px solid transparent;
  border-bottom: 90px solid #0EF41A;
	}	
	
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Documento sem título</title>
</head>
<body>
	<div class="lado1"></div>
</body>
</html>
    
10.06.2018 / 19:17