0
Help in styling
How to Repeat Text as a Background Image in CSS
3 RĂ©ponses
+ 2
SUJOY Saha Create the text in whatever font and size you want in a text editor/word processor,
Then take a screenshot and save it.
Or do the same thing in any image editing program.
Upload the image to webhost.
Finally add the image url to CSS in the "background-image" property, probably for body {}.
Use these additional CSS properties to control positioning, repeat, and such for the background image
background-repeat
background-size
background-position
+ 2
you can do it with canvas and toDataURL, but you probably would have better design flexibility and tiling options with an actual image from an image or vector editor as Shardis Wolfe suggested. I would probably create a tileable png in Inkscape and use that.
https://sololearn.com/compiler-playground/W35yE10cjnpy/?ref=app
0
Type css properties
background-repeat:repeat;