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
27 changes: 21 additions & 6 deletions box-model1.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
<!-- ----------------------------------------------------------------- -->
<!-- ----------------------------------------------------------------- -->
<!-- ----------------------------------------------------------------- -->
<head> <!-- header begins here -->

<head>
<!-- header begins here -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
Expand Down Expand Up @@ -32,12 +34,25 @@
<!-- ---------------------------------------------------------------------------------- -->
<!-- ---------------------------------------------------------------------------------- -->
<!-- ---------------------------------------------------------------------------------- -->
<body> <!-- body begins here -->


The quickest of brown foxes.


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


<h1>Box Model Visual</h1>
<div style="
width:200px;
height:300px;
background-color: red;
border: 2px solid green;
margin: 0;">
<div style="width:100px;
height:100px;
background-color: blue;
margin: 0;">
Inner div
</div>
</div>


<!-- ====================================================== -->
Expand Down
87 changes: 82 additions & 5 deletions box-model2.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@
<!-- ----------------------------------------------------------------- -->
<!-- ----------------------------------------------------------------- -->
<!-- ----------------------------------------------------------------- -->
<head> <!-- header begins here -->

<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/style.css" rel="stylesheet">
<script type="text/javascript" src="./js/header-functions.js"></script>

</head> <!-- header ends here -->
Expand All @@ -32,10 +33,86 @@
<!-- ---------------------------------------------------------------------------------- -->
<!-- ---------------------------------------------------------------------------------- -->
<!-- ---------------------------------------------------------------------------------- -->
<body> <!-- body begins here -->


The quickest of brown foxes.
<body>
<!-- body begins here -->


<h1>Box Model Visual</h1>
<div style="
top: 100px;
left: 40px;
position: absolute;
width:250px;
height:400px;
background-color: red;
padding: 10px;
border: 2px solid green;
margin: 0;">

<div id="innerdiv1" style="
top: 10px;
left: 60px;
position: absolute;
width:100px;
height:100px;
background-color: blue;
padding: 10px;
border: 2px solid white;
margin: 0;">
Inner div 1
</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="
top: 550px;
left: 40px;
position: absolute;
width:250px;
height:400px;
background-color: red;
padding: 10px;
border: 2px solid green;
margin: 0;">
<div id="innerdiv1" style="
top: 60px;
left: 60px;
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: 200px;
left: 60px;
width:100px;
position: absolute;
height:100px;
background-color: beige;
padding: 10px;
border: 2px solid white;
margin: 20;">
Inner div2
</div>
</div>



Expand Down
71 changes: 66 additions & 5 deletions css/style.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,70 @@
body {
background-color: navy;
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;1,100;1,200;1,300;1,400;1,500&display=swap');

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

.container {
top: 0;
bottom: 0;
margin: 10% auto;
width: 400px;
height: 600px;
position: relative;
}

img {
position: absolute;
width: 200px;
height: 200px;
margin: -120px 50px 0 120px;
}

.inputs {
background-color: rgb(187, 187, 187);
width: 450px;
height: 500px;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
border: 2px solid #63EFFF;
border-radius: 20px;
box-shadow: 20px 30px 30px rgb(187, 187, 187);
font-family: 'Poppins', sans-serif;
}

object {
height: 100vh;
width: 100vh;
input {
font-size: 30px;
font-size: 200;
margin: 20px 0;
padding: 5px;
border-radius: 200px;
border: 1px solid #63EFFF;
text-align: center;
}

.btn {
width: 75%;
background-color: #63EFFF;
border: 1px solid rgb(112, 112, 112);
padding: 0;
color: white;
font-family: 'Poppins', sans-serif;
}

.btn:hover {
background-color:white;
border: 1px solid #63EFFF;
color: rgb(112, 112, 112);
}

h1 {
margin-bottom: 10px;
font-size: 40px;
font-weight: 100;
color:#63EFFF;
font-family: 'Poppins', sans-serif;
}
1 change: 1 addition & 0 deletions img/undraw_male_avatar_323b.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 11 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
<!-- ----------------------------------------------------------------- -->
<!-- ----------------------------------------------------------------- -->
<!-- ----------------------------------------------------------------- -->
<head> <!-- header begins here -->

<head>
<!-- header begins here -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
Expand Down Expand Up @@ -32,11 +34,16 @@
<!-- ---------------------------------------------------------------------------------- -->
<!-- ---------------------------------------------------------------------------------- -->
<!-- ---------------------------------------------------------------------------------- -->
<body> <!-- body begins here -->


The quickest of brown foxes.
<body>
<!-- body begins here -->

<div class="container">
<h2>Login Page</h2>
<a href="box-model1.html"> Box Model 1</a>
<br><a href="box-model2.html"> Box Model 2</a>
<br><a href="login_page.html"> Login Page</a>
</div>



Expand Down
23 changes: 23 additions & 0 deletions login_page.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<!DOCTYPE html>
<html>

<head>
<meta charset="utf-8">
<title>Login Page</title>
<link rel="stylesheet" href="css/style.css">
</head>

<body>
<div class="container">
<img src="img/undraw_male_avatar_323b.svg" alt="Profile Picture">
<div class="inputs">
<h1>User Login</h1>
<input type="text" name="username" id="username" placeholder="USERNAME">
<input type="password" name="password" id="password" placeholder="PASSWORD">
<input type="submit" value="LOGIN" class="btn">
</div>
</div>

</body>

</html>