Skip to content

Commit 54a824b

Browse files
use steps animation type for animated textures (#89)
2 parents 76e7ce3 + 9f3a21f commit 54a824b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hexdoc/_templates/textures.jcss.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{% for animation in animations %}
22
.{{ animation.css_class }} {
3-
animation: {{ animation.css_class }} {{ animation.time_seconds }}s linear infinite;
3+
animation: {{ animation.css_class }} {{ animation.time_seconds }}s steps(1, start) infinite;
44
background-size: 100%;
55
background-image: url("{{ animation.url }}");
66
}

0 commit comments

Comments
 (0)