Reputation: 2010
Is it possible to repeat a content as the background-image;
I saw many examples which only explains to place the font icon as a background image
Example:
<ul>
<li><li>
<li></li>
</ul>
ul {
background-image: content("\e80b");
background-repeat:repeat-y;
}
Thanks B L Praveen
Upvotes: 1
Views: 1823
Reputation: 202
Try something like:
**
.cssClass:before{
content: "\e84d\e84d\e84d\e84d\e84d\e84d\e84d\e84d....";
}
.cssClass {
overflow: hidden;
}
**
Upvotes: 2
Reputation: 1023
Try use the :before selector and the content property:
ul:before {
content: "\e80b"
}
Upvotes: 0