I don't think it's possible to do it in a way that would let you use it in HTML/CSS.
But you can display a bitmap font in <canvas> using, for example, pixi.js or phaser