Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Placing image over text

How to overlay image on text which is like a pattern image.

like we do in css for applying color with hex value

color: #ffffff;

How it can be done?

I'm trying to get pattern over text

something like this

Thanks in advance.

like image 682
Om Komawar Avatar asked Dec 18 '25 13:12

Om Komawar


1 Answers

I have please check the code..

h1 {
  
   background: url(http://www.lovethispic.com/uploaded_images/114180-Pink-Glitter-Pattern-.jpg) no-repeat;
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
   font-size:80px
}
<h1>Welcome</h1>
like image 191
Jatin Kalra Avatar answered Dec 21 '25 01:12

Jatin Kalra



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!