HTML to Image
This is demo of HTML to Image
and Tailwind to create images. If you want the image to be a specific size, the the element needs
to be that height and width. Margins will throw that off, so put your margins on an element around
it, if you need them.
You can make it whatever size you need and use a transform to make it not overflow like this demo
does, if you are feeling adventurous