Image As Text Background Part 3

Published: 25 January 2022
on channel: Masters In Web Design
11
3

How to set an images as background of a text

/*CSS*/
@import url('https://fonts.googleapis.com/css?fami...
*,*::before,*::after{
padding: 0;
margin: 0;
box-sizing: border-box;
}
body{
font-family: Montserrat;
background: #111;
width: 100%;
min-height: 100vh;
display: grid;
place-items: center;
}
body h1{
font-size: 10rem;
font-weight: bolder;
color: transparent;
background-image: url('https://media.giphy.com/media/26BROrS...
background-size: cover;
text-transform: uppercase;
line-height: 0.8;
margin: 10px 0;
-webkit-background-clip: text;
}


Watch video Image As Text Background Part 3 online, duration hours minute second in high quality that is uploaded to the channel Masters In Web Design 25 January 2022. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 11 times and liked it 3 visitors.