Witam. Można o rade odnośnie jquery ? Chodzi o to by formularz wysuwał się z prawej strony. Biblioteki jquery juz są wgrane :)
<!DOCTYPE html>
<html>
<head>
<title>Title of the document</title>
<meta charset="UTF-8">
<script type="text/javascript" src="www.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<link rel="stylesheet" href="www.css" type="text/css" />
<script src="www.js"></script>
</head>
<body>
<div class="menu">
<div class="formularz">
<form action="logowanie.php" method="post" id="loginForm">
<label for="email" style="color:white;">e-mail :</label><input type="email" name="email" id="email" required></label></br>
<label for="haslo" style="color:white;">hasło :</label><input type="haslo" name="haslo" id="haslo" required></label>
<input type="submit" value="Zaloguj" style="position:relative;top:2vh; left:44.5%;">
</form>
</div>
</div>
</div>
<div class="main">
</div>
<div class="footer"></div>
</body>
</html>
body{
width:100%;
height:auto;
padding:0;
margin:0;
}
.menu{
width:100%;
height:18.5vh;
background-color:black;
}
.formularz{
float: right;
height: 13.5vh;
margin-top: 2vh;
margin-right: 2vh;
}
input:not([type='submit']){
float: right;
}
input[type='submit']{
display: block;
margin-left: 32%;
}
label{
line-height: 200%;
padding: 0 10px;
}
.main{
width:100%;
height:100vh;
background-color:#3299CC;
}
.footer{
width:100%;
height:20vh;
background-color:black;
}