我已经在我的网站上安装了Steam API登录系统。成功登录后,我将设置重定向回到我的主页。
成功后,我的CSS标题会从屏幕上移开。我试过移动图像等,但似乎没有成功。
#header nav li {
-moz-animation: nav-icons 0.5s ease-in-out forwards;
-webkit-animation: nav-icons 0.5s ease-in-out forwards;
-o-animation: nav-icons 0.5s ease-in-out forwards;
-ms-animation: nav-icons 0.5s ease-in-out forwards;
animation: nav-icons 0.5s ease-in-out forwards;
-moz-backface-visibility: hidden;
-webkit-backface-visibility: hidden;
-o-backface-visibility: hidden;
-ms-backface-visibility: hidden;
backface-visibility: hidden;
-moz-transform: translate3d(0,0,0);
-webkit-transform: translate3d(0,0,0);
-o-transform: translate3d(0,0,0);
-ms-transform: translate3d(0,0,0);
transform: translate3d(0,0,0);
display: inline-block;
height: 5.35em;
line-height: 5.885em;
opacity: 0;
position: relative;
top: 0;
width: 5.35em;
// We use POST to logout so people can't embed images to the logout function and annoy people.
echo "<form method=\"POST\"><input type=\"image\" src=\"images/logout.png\" id=\"logout\" name=\"logout\" value=\"Logout\" /></form>";
}else{
// Display login button
echo "<a href=\"" . $auth->GetLoginURL() . "\"><img src=\"SteamAuth/assets/sits_large_noborder.png\" id=\"login\" alt=\"Sign in through Steam\" /></a>";
}