Checkout https://github.com/imsky/holder
In order to change the text size in the placeholders, you'll need to create a custom theme and use it.
After you include holder.js
, add a script
tag that adds the theme you want:
<script src="holder.js"></script>
<script>
Holder.add_theme("big", { background: #FF0000, foreground: #fff, size: 20 })
</script>
Then you can use:
data-src="holder.js/200x200/big/text:Count:10"