And, because I drew a blank on searching for this ...
# javascript
r
And, because I drew a blank on searching for this 🙂, how do I attach keyframes to an Animation in kotlin-css?
Copy code
animation += Animation(
                    name = "gradient",
                    duration = 10.s,
                    timing = Timing.linear,
                    iterationCount = IterationCount.infinite
                )
                KeyframesBuilder().apply {
                    from {
                        backgroundPosition = <http://RelativePosition.top|RelativePosition.top>
                    }
                    to {
                        backgroundPosition = RelativePosition.bottom
                    }
                }