V
V
Vlad Tiago2018-05-15 17:58:23
css
Vlad Tiago, 2018-05-15 17:58:23

How to open a video on click in any area of ​​the block?

Please tell me how to open the video in the block by clicking in this block anywhere so that the elements in this block move apart

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vitaly, 2018-05-15
@rim89

make up the block when there is a video.
hide video by adding a class to display:none;
write an onClick event handler so that when the hide is clicked, the video is changed / deleted

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question