Share Posted August 28, 2015 I am looking to maintain control of classes. IDs, and elements of an SVG through an imported or external SVG file with GSAP. The reason is that sometimes the SVG code gets so long, and I'd rather have it in a file outside of my main HTML file. It looks like maybe using the <object> tag can work, but I'm not sure: <object type="image/svg+xml" data="kiwi.svg" class="logo"> Kiwi Logo <!-- fallback image in CSS --> </object> Link to comment Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now