Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 16 additions & 1 deletion box-model1.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,22 @@
<body> <!-- body begins here -->


The quickest of brown foxes.

<h1>Box Model Visual</h1>
<div style="
width:200px;
height:200px;
background-color: red;">


<div style=
"width:100px;
height:100px;
background-color: blue;
">
Inner div
</div>
</div>



Expand Down
76 changes: 75 additions & 1 deletion box-model2.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,81 @@
<body> <!-- body begins here -->


The quickest of brown foxes.

<h1>Box Model Visual</h1>
<div style="
top: 30;
left: 0;
position: absolute;
width:200px;
height:300px;
background-color: red;
padding: 10px;
border: 2px solid green;
margin: 0;">
<div id="innerdiv1" style="
top: 10px;
left: 40px;
position: absolute;
width:75px;
height:100px;
background-color: blue;
padding: 10px;
border: 2px solid white;
margin: 0;">
Inner div
</div>

<div id="innerdiv2" style="
top: 150px;
left: 10px;
width:150px;
position: absolute;
height:100px;
background-color: beige;
padding: 10px;
border: 2px solid white;
margin: 20;">
Inner div2
</div>
</div>
<div style="
bottom: 10px;
left: 20px;
position: absolute;
width:200px;
height:300px;
background-color: red;
padding: 10px;
border: 2px solid green;
margin: 0;">
<div id="innerdiv1" style="
bottom: 140px;
left: 10px;
position: absolute;
width:75px;
height:100px;
background-color: blue;
padding: 10px;
border: 2px solid white;
margin: 0;">
Inner div
</div>

<div id="innerdiv2" style="
bottom: 2px;
left: 10px;
width:75px;
position: absolute;
height:75px;
background-color: beige;
padding: 10px;
border: 2px solid white;
margin: 20;">
Inner div2
</div>
</div>




Expand Down
41 changes: 41 additions & 0 deletions css/style-login.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
body {
background-color:greenyellow;
}

.container {
background-color:white;
height:350px;
width: 250px;
text-align: center;
position: absolute;
left: 40%;
top:25%;
box-shadow: 10px 10px 5px grey;


}
div div{
margin-top: 20px;

}

#userform{
background-color: lightgray;
border: none;
text-align: center;
}
#button{
align-items: center;
background-color: turquoise;
color: white;
border: none;
width: 75px;
}
a{
color:red;
}

object {
height: 100vh;
width: 100vh;
}
2 changes: 1 addition & 1 deletion css/style.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
body {
background-color: navy;
background-color: white;
}


Expand Down
5 changes: 3 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,9 @@
<body> <!-- body begins here -->


The quickest of brown foxes.

Click here for
<a href="box-model1.html" target="_blank"> Box Model1</a>
<a href="box-model2.html" target="_blank"> Box Model2</a>



Expand Down
17 changes: 17 additions & 0 deletions login-interface.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<!DOCTYPE html>
<head> <!-- header begins here -->
<meta charset="utf-8">

<link href="./css/style-login.css" rel="stylesheet">

</head> <!-- header ends here -->
<body>
<div class="container">
<h1> User Login</h1>
<div><input id="userform" type="text" placeholder="Username"></div>
<div> <input id="userform" type="password" placeholder="Password"></div>
<div> <input id="button" type="submit" value="Login"><br></div>
<div><a href="#" target="_blank">Forgot password?</a></div>
</div>

</body>