I am currently utilizing dashing.io and aiming to construct a widget featuring a marquee effect. I managed to achieve the desired result using CSS animation along with HTML (http://jsfiddle.net/oLLzsyud/). However, upon integrating it into the widget, it appears as follows: CSS:
.widget-marquee {
background: #004894;
$color_celeste_approx: #cccccc;
.marquee {
width: 200px;
margin: auto;
padding: 2px;
overflow: hidden;
white-space: nowrap;
border: solid 1px $color_celeste_approx;
animation: marquee 10s linear infinite;
&:hover {
animation-play-state: paused;
}
}
@keyframes marquee {
100% {
text-indent: -100%;
}
0% {
text-indent: 100%;
}
}
}
HTML:
<div class="marquee">
<span data-bind="stoer"></span>
</div>
In the dashing environment, it is displayed like this and remains static
I have not made any alterations to the coffee script, as it was generated by default when creating the widget.
Upon inspection, I am uncertain why it isn't functioning correctly within dashing even though it works seamlessly with CSS and HTML on a standard webpage.
Your insights and suggestions are greatly appreciated.