// Making text background image
<h1>css animation</h1>
<style>
h1{
background:url(image.jpg);
-webkit-background-clip:text;
color:transparent;
}
</style>
/* Keyword values */
background-clip: border-box;
background-clip: padding-box;
background-clip: content-box;
background-clip: text;
/* Global values */
background-clip: inherit;
background-clip: initial;
background-clip: revert;
background-clip: unset;
/*This property specifiess how far the background should extend within an element*
Values
the default-value is border-box
content-box : background extends to the edge of the content box
padding-box: background extends to the inside edge of the border
border-box: background extends behind the border
initial : sets property to default value
*/