i was just wondering if i could make a form slide when the page loads
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="css/gi.css">
</head>
<body onload='document.getElementById("form1").style["-webkit-transform"] = "translateX(100px);"'>
<form action='gi.php' method='post' id='form1'>
<!-- form elements -->
</form>
</body>
</html>
that's the code im working on
note: this html will be placed inside an iframe
any responses would be appreciated