Is there any possibility to fill the text as the background for the div in css3 or css4?
div{
background: 'some text' repeat;
}
Is there any possibility to fill the text as the background for the div in css3 or css4?
div{
background: 'some text' repeat;
}
body {
background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' version='1.1' height='20px' width='70px'><text x='0' y='10' background-color='grey' fill='grey' font-size='10'>Some text</text></svg>");
}
There is no direct property, using SVG you can achive this.
refer here for fiddle