Currently, I am facing an issue while working with Animate.css. I am attempting to set the duration, delay, and looping options but it seems like the command is not being applied. Upon investigation, I suspect that the propertyName
is not being recognized which leads to it being ignored. Instead of just appending a tag to the body with the information, I would like to directly apply it to the element.
.css(
{
"-vendor-animation-duration": "7s",
"-vendor-animation-delay": "2s",
"-vendor-animation-iteration-count": "infinite"
}
);
Is there a method to force it to add something that it does not recognize?
Update - Although the example may seem messy, it was all dynamically added using jQuery as a preview. The content will later be fetched from the database and assigned accordingly.
<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);">