6
I saw this effect and I’m trying to put in a project, but I don’t know how to put a Video inside Text, I only got with images...
Here I put an image as text background, but how do I put a video like background
of a text?
body {
background: #333;
}
h1 {
font-family: sans-serif;
font-size: 100px;
color: transparent;
-webkit-text-fill-color: transparent;
background: url(https://unsplash.it/140/80) no-repeat;
background-size: cover;
-webkit-background-clip: text;
background-clip: text;
text-transform: uppercase;
font-weight: bold;
text-align: center;
}
<h1>VÍDEO</h1>
OBS: I need you to be a VIDEO and not an . animated GIF!
Possibly related: https://css-tricks.com/responsive-knockout-text-with-looping-video/
– Pedro
@Peter cool the link, pq does not take advantage to come up with a response and bring this content here to the site tb?
– hugocsl
@Pedro young case you are interested in the subject, I got an interesting solution that is a little simpler than the link you posted abs
– hugocsl