How to place element inside a canvas? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How to place element inside a canvas?

like button, input, etc...

24th Oct 2018, 3:43 AM
Jingga Sona
Jingga Sona - avatar
3 Answers
+ 3
Calviղ so there is no way to put button inside canvas? okay! Thanks!👍
24th Oct 2018, 3:59 AM
Jingga Sona
Jingga Sona - avatar
+ 2
You can position html elements on top of canvas using css higher z-index, and position: absolute with left and right position values.
24th Oct 2018, 3:54 AM
Calviղ
Calviղ - avatar
+ 1
Not directly, due to canvas components are presented in pixel elements.
24th Oct 2018, 4:31 AM
Calviղ
Calviղ - avatar