image on text in bootstrap
<div class="text-center">
<img src="..." class="rounded" alt="...">
</div>
image on text in bootstrap
<div class="text-center">
<img src="..." class="rounded" alt="...">
</div>
how to add text on an image in bootsrap
.maintxt {position: relative;}
.maintxt > img, .overlay-text {position: absolute;}
<div class="container">
<div class="row">
<div class="col-xs-12 col-sm-6 col-md-8 col-centered">
<div class="maintxt">
<img src="background.png" class="img-responsive">
<span class="overlay-text">My super text.</span>
</div>
</div>
</div>
</div>
how to add text on an image in bootsrap
.maintxt {
background-image: url(images/background.png);
background-size: cover;
}
<div class="container">
<div class="row">
<div class="col-xs-12 col-sm-6 col-md-8 col-centered">
<div class="maintxt">
My great text.
</div>
</div>
</div>
</div>
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us