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
20 changes: 6 additions & 14 deletions box-model1.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,26 +17,18 @@
<!-- ----------------------------------------------------------------- -->
<!-- ----------------------------------------------------------------- -->
<!-- ----------------------------------------------------------------- -->












<!-- ---------------------------------------------------------------------------------- -->
<!-- ---------------------------------------------------------------------------------- -->
<!-- ---------------------------------------------------------------------------------- -->
<body> <!-- body begins here -->
<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>


The quickest of brown foxes.




Expand Down
86 changes: 77 additions & 9 deletions box-model2.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,83 @@
<!-- ----------------------------------------------------------------- -->
<!-- ----------------------------------------------------------------- -->









<h1>Box Model Visual</h1>
<div style="
top: 10;
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:100px;
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:130px;
position: absolute;
height:80px;
background-color: beige;
padding: 10px;
border: 2px solid white;
margin: 20;">
Inner div2
</div>
</div>
<!-- between the boxes -->

<div style="
top: 450px;
left: 50px;
position: absolute;
width:200px;
height:300px;
background-color: red;
padding: 10px;
border: 2px solid green;
margin: 0;">

<div id="innerdiv1" style="
top: 50px;
left: 10px;
position: absolute;
width:80px;
height:120px;
background-color: blue;
padding: 10px;
border: 2px solid white;
margin: 0;">
Inner div
</div>

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

</div>



Expand All @@ -35,7 +104,6 @@
<body> <!-- body begins here -->


The quickest of brown foxes.



Expand Down
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
10 changes: 10 additions & 0 deletions css/style2.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
body {
background-color: #B6DB49;
}



object {
height: 100vh;
width: 100vh;
}
5 changes: 3 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
<!-- ----------------------------------------------------------------- -->
<!-- ----------------------------------------------------------------- -->
<!-- ----------------------------------------------------------------- -->

<a href="box-model1.html">Box Model 1</a>
<br>
<a href="box-model2.html">Box Model 2</a>



Expand All @@ -35,7 +37,6 @@
<body> <!-- body begins here -->


The quickest of brown foxes.



Expand Down
91 changes: 91 additions & 0 deletions login-interface.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
<!DOCTYPE html>
<html lang="en">

<!-- ----------------------------------------------------------------- -->
<!-- ----------------------------------------------------------------- -->
<!-- ----------------------------------------------------------------- -->
<head> <!-- header begins here -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">

<link href="./css/style2.css" rel="stylesheet">
<script type="text/javascript" src="./js/header-functions.js"></script>

</head> <!-- header ends here -->
<!-- ----------------------------------------------------------------- -->
<!-- ----------------------------------------------------------------- -->
<!-- ----------------------------------------------------------------- -->


<!-- ---------------------------------------------------------------------------------- -->
<!-- ---------------------------------------------------------------------------------- -->
<!-- ---------------------------------------------------------------------------------- -->
<body> <!-- body begins here -->

<div style="
top: 100px;
left: 200px;
position: absolute;
width:200px;
height:280px;
background-color: #E8E8E8;
padding: 10px;
border: 0px;
margin: 0px auto;">
User Login
<div id="innerdiv1" style="
top:100px;
left: 30px;
position: absolute;
width:120px;
height:15px;
background-color: #D3D3D3;
padding: 10px;
border: 0px;
margin: 0;">
Username
</div>
<div id="innerdiv1" style="
top:150px;
left: 30px;
position: absolute;
width:120px;
height:15px;
background-color: #D3D3D3;
padding: 10px;
border: 0px;
margin: 0;">
Password
</div>

<div id="innerdiv2" style="
top: 200px;
left: 30px;
width:120px;
position: absolute;
height:15px;
background-color: #66CCE2;
padding: 10px;
border: 0px;
margin: 20;">
Login
</div>
</div>

<!-- ====================================================== -->
<!-- ====================================================== -->
<footer>
<!-- footer of page begins here -->
<script type="text/javascript" src="./js/footer-functions.js"></script>
</footer> <!-- footer of page ends here -->
<!-- ====================================================== -->
<!-- ====================================================== -->

</body>
<!-- ---------------------------------------------------------------------------------- -->
<!-- ---------------------------------------------------------------------------------- -->
<!-- ---------------------------------------------------------------------------------- -->

</html>