+ 1

SVG background image with animated image on top?

This may be quite a specific question, but for a project I'm working on, I'd like to draw simple shapes in SVG. So far so good, as that's perfectly possible. The idea is to draw a maze with several SVG polyline elements and have a standard image run it with css animation without disturbing the maze. No JavaScript, only HTML and CSS. Any suggestions how best to tackle this?

19th Jun 2017, 6:46 PM
Mathijs VS
Mathijs VS - avatar
4 Respostas
+ 1
Wouldn't have a clue yet, but if you figure it out this sounds like something interesting I would like to know.
20th Jun 2017, 5:38 AM
Donovan Matson
Donovan Matson - avatar
0
Well, if I find out I'll let you know, but if a solution doesn't pop up I'll just use a bg image in stead of an svg polyline
20th Jun 2017, 8:31 AM
Mathijs VS
Mathijs VS - avatar
0
Mathijs VS Here an example of setting svg path as background image. Modify to add your own svg paths. https://code.sololearn.com/Wo0iNC1q6Evl/?ref=app https://code.sololearn.com/WeZ186Z7SWr2/?ref=app
15th Jun 2020, 4:21 AM
Calviղ
Calviղ - avatar
- 1
Honestly not far enough in the courses to understand what an SVG image is yet lol.
20th Jun 2017, 2:36 PM
Donovan Matson
Donovan Matson - avatar