There’s a small JavaScript library you can use to do this called dom-to-image https://github.com/tsayen/dom-to-image.
There’s also another one to render the page or parts of a page to a canvas then converts that canvas to an image. http://html2canvas.hertzen.com/
Or you can simply use your device to take a screenshot of the screen with the card on it.
Hope that helps.