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
33 changes: 33 additions & 0 deletions first/index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
*{
padding: 0;
margin: 0;
box-sizing: border-box;
}

.header{
height: 200px;
background: gray;
}

.sidebar{
width: 120px;
height: 100vh;
background: lightgray;
z-index: 20;
}

.left{
float:left;
}

.right{
float:right;
}

.footer{
background: rgb(43, 43, 43);
height: 100px;
position: relative;
top: 90vh;
z-index: -5;
}
21 changes: 20 additions & 1 deletion first/index.html
Original file line number Diff line number Diff line change
@@ -1 +1,20 @@
<!-- Put your HTML HERE, make sure to connect your index.css sheet -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>First</title>
<link rel="stylesheet" href="./index.css">
</head>
<body>

<div class="container">
<header class="header"></header>
<nav class="sidebar right"></nav>
<div class="center-content"></div>
<nav class="sidebar left"></nav>
<footer class="footer"></footer>
</div>
</body>
</html>
79 changes: 79 additions & 0 deletions second/index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
*{
padding: 0;
margin: 0;
box-sizing: border-box;
}

/* container tracking */

.container{
width: 95%;
margin: 20px auto;
border: 3px solid black;
height: 200px;
}

.dotted{
border: 3px dotted black;
display: flex;
justify-content: center;
align-items: center;
height: 250px;
}

.fancy{
border: 1px solid #e6e6e6;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 2px 2px 4px 0px #b1b1b1;;
width: 500px;
}

/* inner content */

.reactangle1{
display: inline-block;
width: 30px;
height: 90px;
background: rgb(94, 29, 133);
top: 45px;
margin: 50px 21px 10px 10px;
}

.reactangle2{
display: inline-block;
width: 26%;
height: 90%;
background: rgb(22, 99, 3);
top: 45px;
margin: 7px 20px 10px 10px;
}

.circle{
display: inline-block;
width: 170px;
height: 170px;
background: rgb(103, 192, 228);
top: 45px;
margin: 7px 60px 10px 10px;
border-radius: 50%;
}

/* second container */

.inner-container{
width: 90%;
height: 70%;
background: rgb(250, 250, 188);
box-shadow: 6px 8px 3px 0px #525252;
}

/* third container */
.fancy > h1{
color: rgb(1, 1, 167);
}




28 changes: 27 additions & 1 deletion second/index.html
Original file line number Diff line number Diff line change
@@ -1 +1,27 @@
<!-- Put your HTML HERE, make sure to connect your index.css sheet -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="./index.css">
<title>Second</title>
</head>
<body>

<div class="container">
<div class="reactangle1"></div>
<div class="reactangle2"></div>
<div class="circle"></div>
</div>

<div class="container dotted">
<div class="inner-container"></div>
</div>

<div class="container fancy">
<h1>HELLO FRIENDS</h1>
</div>

</body>
</html>
58 changes: 58 additions & 0 deletions third/index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@

*{
padding: 0;
margin: 0;
}

.header-nav{
height: 110px;
background: rgb(177, 177, 177);
display: flex;
align-items: center;
}

.logo-container{
/* display: inline-block; */
height: 60px;
width: 60px;
background: rgb(11, 137, 196);
margin-left: 20px;
}

.content{
height: 380px;
display: flex;
align-items: center;
justify-content: space-around;
}

.content > p{
margin: 50px;
}


.bar{
height: 110px;
}

.blue{
background: rgb(11, 137, 196);
}

.seagreen{
background: rgb(10, 187, 148);
}

.lime{
background: rgb(197, 223, 103);
}

.yellow{
background: rgb(237, 240, 64);
}

.logo-container:active{

}


30 changes: 29 additions & 1 deletion third/index.html
Original file line number Diff line number Diff line change
@@ -1 +1,29 @@
<!-- Put your HTML HERE, make sure to connect your index.css sheet -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="./index.css">
<script src="./index.js"></script>
<title>Third</title>
</head>
<body>
<div class="header-container">
<header class="header-nav">
<div class="logo-container" onclick="changeDisplay()"></div>
</header>
</div>

<div class="content">
<p>Consider hiding the status bar -- and all other app UI -- while people are actively viewing full-screen media. If you hide the status bar, be sure to let people retrieve it ( and the appropriate app UI ) with a single tap. Unless you have a compelling reason to do so, avoid defining a custom gesture to redisplay the status bar because users are unlikely to discover such a gesture or to remember it. </p>
</div>

<div class="blue bar"></div>
<div class="seagreen bar"></div>
<div class="lime bar"></div>
<div class="yellow bar"></div>


</body>
</html>