I am working with Animate.css and trying to assign the duration, delay and looping options, but the command is being ignored. I think it is because propertyName is not recognized and so is just ignored. I would like to apply it right to the element instead of appending a tag to the body with the info.
.css(
{
"-vendor-animation-duration": "7s",
"-vendor-animation-delay": "2s",
"-vendor-animation-iteration-count": "infinite"
}
);
Is there a way to force it to add something it doesn't recognize?
Update - Adding an example,it looks messy, but it is all dynamically added using jquery as a preview. Later it will be called from the database and assigned.
<div data-layer="0" data-type="sliderLayer" data-slide="0"
data-positioningtypewidth="px" data-positioningtypeheight="px"
data-positioningtypeleft="px" data-positioningtypetop="px" data-id="0"
class="resizable draggable canvasItem sliderLayer-0 slide-0 draggable-0
ui-draggable ui-draggable-handle ui-resizable bounce.slide animated"
style="background-color: rgb(204, 17, 102); z-index: 100; animation-duration:
1000ms; opacity: 0.88; display: block; width: 455px; height: 115px; border-
radius: 25.15px; background-size: 50px 50px; background-image: -moz-linear-
gradient(-45deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%, transparent
50%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.2) 75%, transparent
75%, transparent); box-shadow: 0px 0px 8px rgb(119, 61, 161);">