Hi All. I have some marquee text that scrolls (obviously) and I want the "hover" to stop it. This needs to be done in .net where I am add the class to a div in C#. It's off by default.
Here is the simple HTML:
<div id="innerDIV" class="example1" runat="server">
<h3 id="messageText" class="example2" runat="server">This is the banner text!</h3>
</div>
What I was thinking was wrapping the hover CSS around a class that I can then assign to the div in the code-behind page. Something like this:
.HoverClass{
hover {
-moz-animation-play-state: paused;
-webkit-animation-play-state: paused;
animation-play-state: paused;
}
}
Is this possible? I tried numerous things but can't figure it out.
Thanks!
Here is the simple HTML:
<div id="innerDIV" class="example1" runat="server">
<h3 id="messageText" class="example2" runat="server">This is the banner text!</h3>
</div>
What I was thinking was wrapping the hover CSS around a class that I can then assign to the div in the code-behind page. Something like this:
.HoverClass{
hover {
-moz-animation-play-state: paused;
-webkit-animation-play-state: paused;
animation-play-state: paused;
}
}
Is this possible? I tried numerous things but can't figure it out.
Thanks!