Looks so simple, but so far I was not able to find a single answer to this.
The problem is simple, I have only one image, and I want to show this in the middle of the page and done.
Here is my code that works using only CSS:
.centered {
position: fixed;
top: 50%;
left: 50%;
/* bring your own prefixes */
transform: translate(-50%, -50%);
}
And on my HTML code just this:
<div class="centered">
<img src="https://via.placeholder.com/100">
</div>
So far I have not found one single answer how to to this using Bootstrap 4, can anyone help on this?