I have the following question about how to make a pointing div NOTE : I mean only one not with two div because that is what I do here I leave you an image of what I want and a bit of code
this is what I want to achieve this is what I have
#triangle{
width: 250px;
height:250px;
background-image:url(avatar.png);
background:black;
}
.triangulo {
position:absolute;
width: 0;
height: 0;
border-right: 60px solid transparent;
border-left: 60px solid transparent;
border-bottom: 60px solid transparent;
border-top: 60px solid black;
margin-top:250px;
margin-left:65px;
}
<div id="triangle">
<div class="triangulo"></div>
</div>
How do you see what I would like to do with a single div and thus put a background image on the div so that it looks like in the photo, some idea or tips to achieve this?