"Clip an images to text"
Bootstrap 4.1.1 Snippet by ranjit1602

<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container"> <div class="row"> <div class"col-md-12"> <div><h1>hi ranjit jaiswal</h1></div> </div> </div> </div>
div{ display:flex; justify-content:center; align-items:center; } h1{ font-size:50px; background-size:cover; background-clip:text; -webkit-background-clip:text; color:transparent; background-image:url(https://www.nmamilife.com/wp-content/uploads/2019/08/19-recipe-Blog-size.jpg); }

Related: See More


Questions / Comments: