Playing with some SVG and JavaScript.
Because SVG is loaded into the DOM, it can be targeted with JavaScript. You can set styles on elements in the usual way, such as:
element.style.transform = "scale(1.5, 1.5)";
See the Pen SVG Tunnel with vanilla JS by Lee Gunn (@leegunn) on CodePen.
Hello, my name is Lee and I work as a full-stack web developer specialising in Microsoft ASP.NET technologies. I love using Umbraco and also MANAGED, my own application management software.
Contact me at lee.gunn@secretorange.co.uk
Get in touch to talk about your project or just ask me a question.