Honestly, I donât know! I found this code and I am messing around with it and it seems to work.
I am having an issue with this though. I replaced the form with a video. Tried putting a video tag and that didnât work. So I changed form to hello, to just
try it. It works but it doesnât swing in like it did with the form tag. It does swing in IE, not FF and Chrome.
#ddoptinbox.open .ddoptincontent .ddoptinformcontainer hello{
visibility: visible;
-webkit-animation: swingit forwards 0.5s 0.5s; /* 0.5s 0.5s = time of form swinging, delay before it happens respectively */
-moz-animation: swingit forwards 0.5s 0.5s;
animation: swingit forwards 0.5s 0.5s;
-webkit-transition: visibility 0s 0.5s; /* 0s 0.5s = time of form appearing, delay before it happens respectively */
-moz-transition: visibility 0s 0.5s;
transition: visibility 0s 0.5s;
}