You can use provided stylesheet to construct tetris pieces by using only CSS classes, CSS is in src/style.css
file.
Look into src/index.html
to see how you can construct pieces, my implementation is using <table>
elements but they could be whatever.
No Javascript is required, the provided script is only used for the demo page.