Professional Documents
Culture Documents
NIM : F1D019011
Kelas : B
2. style.css
*{
padding: 0;
margin: 0;
font-family: fantasy;
}
a{
color: #1b2327;
text-decoration: none;
}
.option-bar{
padding: 13px 0;
background-color: #75d5e3;
text-align: center;
}
.option-bar ul li{
display: inline-block;
}
.box{
}
header ul li a{
padding: 15px 25px;
display: inline-block;
}
header ul li a:hover{
background-color: white;
}
.page{
height: 75vh;
background-image: url('img.jpg');
background-size: cover;
display: flex;
justify-content: center;
align-items: center;
position: relative;
}
header{
background-color: #2d5d83;
color: white;
text-align: center;
}
header h1 a{
color: white;
}
.page p{
text-align: center;
font-size: 40px;
color: white;
}
3. Login.html
<!DOCTYPE html>
<html>
<head>
<title>Genuine</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="loginstyle.css">
4. Loginstyle.css
*{
padding: 0;
margin: 0;
font-family: fantasy;
}
a{
color: #1b2327;
text-decoration: none;
}
.option-bar{
padding: 13px 0;
background-color: #75d5e3;
text-align: center;
}
.option-bar ul li{
display: inline-block;
}
.box{
}
header ul li a{
padding: 15px 25px;
display: inline-block;
}
header ul li a:hover{
background-color: white;
}
.page{
height: 75vh;
background-image: url('img.jpg');
background-size: cover;
display: flex;
justify-content: center;
align-items: center;
position: relative;
}
header{
background-color: #2d5d83;
color: white;
text-align: center;
}
header h1 a{
color: white;
}
.page p{
text-align: center;
font-size: 40px;
color: white;
}
.loginbox{
background-size: width:50px height:60px;
padding: 60px;
position: relative;
text-align: center;
justify-content: center;
}
.loginbox:after{
content: '';
display: block;
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
background-color: rgba(255,255,255, .6);
}
.loginbox .input-group{
position: relative;
width: 100%;
margin-bottom: 13px;
z-index: 1;
}
.loginbox .input-group input{
height: 40px;
width: 100%;
padding: 0 8px;
box-sizing: border-box;
}
.loginbox h2{
position: relative;
z-index: 1;
font-size: 30px;
padding-bottom: 30px;
}