Text & Background Image

Text & Background Image

Copy to clipboard

TEXT

View CSS
View HTML

				.bg-text {
    font-size: 90px;
    /* Fall Back - Add JS to detect unsupported broswers and to not add the background img css class */
    color: #353535;

    /* Background Image */
    background: url('wp-content/uploads/2021/02/prespective-img.jpg') no-repeat;
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-size: cover;
	background-position: bottom;
}				

					<h2 class="bg-text">TEXT</h2>