All Questions
210
questions
1
vote
1
answer
92
views
Is there a way to make an svg circular progress bar using stroke dasharray? [closed]
I have been trying to recreate this progress bar, but I have been stuck to the step where I can implement the dashes between the line. If you have any ideas it would be great.
This is what i have ...
0
votes
0
answers
54
views
Layering an animated SVG outline (path) exactly over an animated (animateTransform) SVG clip-path applied to divs?
I eventually got there (almost), but I had some trouble trying to put this demo (Code Sandbox link) together, where there are basically two divs that use SVG clipPath + CSS clip-path and CSS mix-blend-...
1
vote
1
answer
124
views
How would I make a looping text marquee that is clipped to a path?
i'm still quite inexperienced with coding in general, but what I'm trying to do is to make an infinite marquee of text that is clipped to an svg path
I tried looking around and having a go. But I can'...
0
votes
2
answers
56
views
Trinity knot svg
I want to make a trinity knot infinite animation loop right now I am stuck with an infinite loop animation I just want to add one knot on top so the logo looks like a trinity knot. I am a beginner on ...
1
vote
2
answers
134
views
How to Create Hand-Drawn SVG Animation with a Mask
I'm trying to create the below SVG animation with a mask. I have tried with CSS stroke properties, but I cannot get it the way I want.
Here is the W-shaped SVG I have created.
path {
stroke: ...
0
votes
1
answer
294
views
How do I draw a line behind an animation?
I am trying to add a line behind an element (plane svg) which is moved around in a keyframe animation. I want the line to follow its path as the plane moves and also leave a trace so that the plane's ...
0
votes
1
answer
110
views
Infinite seamless scroll part of a SVG
I'm trying replicate this GIF in SVG:
.barsBox
{
overflow: hidden;
display: flex;
width: 108px;
margin: 0 auto;
}
.bars
{
animation: scroll 0.7s steps(7) infinite;
}
@keyframes scroll
{...
0
votes
1
answer
82
views
Animating an svg mask works, but only the first times
I am trying to create a transition effect using SVG masks and CSS. I got to the point where the transition effect is working correctly, but after a few times (usually 1 or 2, but it seems random) the ...
1
vote
1
answer
148
views
How can I modify my CCS-animated objects in an SVG with JS to animate randomly, rather than all at once?
I have a map that I am trying to animate on a web page. The SVG I am working on can be seen here: https://svgshare.com/i/stq.svg
I have successfully animated the map so that the icons pulse and change ...
0
votes
1
answer
182
views
Keep fill of SVG pattern centered in animation
I have an animated SVG in which the origin is the center. There is 256x256 path that is centered around the origin. This path has a fill which is a pattern that is a gradient rect also of 256x256. The ...
0
votes
0
answers
99
views
How to fill SVG?
could you please tell me guys how to fill this SVG?
<svg class="animationCounter2" width="80%" height="80%" viewBox="0 0 295 298" fill="none"
...
1
vote
0
answers
42
views
How to animate an object with <img> tag move along a path?
I want to create an animation in which an object (in this case, the first blue line in the image https://i.sstatic.net/RDwQ2.png) move along an svg path. The line is provided in the form of PNG.
I ...
1
vote
1
answer
510
views
Stroke-dasharray not being applied
I am following a tutorial (a bit dated now) to create an SVG animation and got stuck with stroke-dasharray - I am defining it but not seeing any effect. I am using Codepen for this.
.container {
...
0
votes
2
answers
1k
views
SVG: Why can I not override the fill color?
I with to have a default fill and override where needed:
<svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg">
<defs>
<circle fill="blue" id="myCircle" cx="0" cy="0" r="...
0
votes
1
answer
112
views
SVG text animated on path working only in Firefox
I'm trying to solve an issue with an SVG text which should be animated on a path.
What I'm trying to accomplish is shown on https://readymade-tv.vercel.app/ (has to be opened in Firefox)
Code for this ...