Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I make my svg render as is when js is disabled #76

Open
devsrealm opened this issue Aug 15, 2019 · 1 comment
Open

How do I make my svg render as is when js is disabled #76

devsrealm opened this issue Aug 15, 2019 · 1 comment

Comments

@devsrealm
Copy link

devsrealm commented Aug 15, 2019

I know the animation in lazy doesn't work when js is disabled, but how do I make it render the complete SVG when js is disabled, currently, it doesn't render anything. Thanks

@timplumb
Copy link

timplumb commented Dec 3, 2019

I was looking at this as well and it seems you can just set the default styles for the elements in the SVG using CSS;
#Layer_2 path,
#Layer_2 line {
stroke-linecap:round;
stroke: rgb(255, 255, 255);
stroke-opacity:1;
stroke-width:8px;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants