P
P
pashulke2015-03-19 16:16:32
Canvas
pashulke, 2015-03-19 16:16:32

How to combine all elements from a div into an image?

Let's say there are several div blocks in each other, which can contain an image, text, any CSS effects, etc.:

<div class="q">
     <div class="e"><img src="img/img.png"></div>
     <div class="w">Бла-бла-бла</div>
     <div class="e"><img src="img/image.png"></div>
     <div class="r"></div>
</div>

How to combine them into one single picture? I read something about canvas, but did not find something understandable.
In fact, you need to make a screen of this place on the screen. Preferably JS, but options with PHP are also interesting.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Moskus, 2015-03-20
@pashulke

html2canvas.hertzen.com

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question