I want the outerDiv to onclick open a new windows tab with a specific href. Every div is display: flex.
<div class="outerDiv">
<div>
<img>
</div>
</div>
I already tried to just place a a (anchor) element inside the div but it didnt work.
I cant get the a element on the same size as the parent div element.
Tried to set the height and width of the a to 100%, but didnt change anything.
<div class="outerDiv">
<a href=...></a>
<div>
<img>
</div>
</div>