Imagine you have the following construction:
<div>
<img ...>
<h3> Some h3 text </h3>
<h2> Some h2 text </h2>
</div>
Is it possible to center <h3> and <h2> over <img> without creating a new <div>? (<h3> and <h2> should not overlap). So I need basically a pure CSS solution. Thank you in advance.
Aucun commentaire:
Enregistrer un commentaire