1
I have the following image below:
I need to include a button on top of it using CSS, like this:
Source code:
<div id="exampleModal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<img src="https://progetex.com.br/uf/popup1.png" style="max-width:100%"/>
</div>
</div>
</div>
But I can’t use the image of background
of div
because I need the dimensions of it (when I used it as a background, the div didn’t appear since there was no content inside).
Any hint?
Yes. Use position: Absolute on button and bottom: Tantospx and left: Tantospx
– Sam
But it would be good to put the code of all this so we can give an accurate answer.
– Sam
@dvd included the code, is a piece of a modal of boostrap. I’ll see if I can put the button using position.
– Italo Rodrigo
@dvd worked using position. thanks
– Italo Rodrigo