wie man Text über das Bild in React platziert
const Header = () => {
return (
<header>
<div className = "head-text">
<div className = "head-image">
<img src = {require ('../ images / Header.png')} alt = "Freedom Blog" />
</div>
<div class='text-on-image'>
<h3> Welcome to my Blog </h3>
<p> FREEEEDOM </p>
</div>
</div>
</header>
)
}
Nasty Newt