Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

level2/step1 #18

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
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
4 changes: 2 additions & 2 deletions level-1/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,15 @@

<header class="content-mid-header"></header>

<div class="content"></div>
<div class="content">Lorem Ipsum is de standaard proeftekst in deze bedrijfstak sinds de 16e eeuw, toen een onbekende drukker een zethaak met letters nam en ze door elkaar husselde om een font-catalogus te maken. Het heeft niet alleen vijf eeuwen overleefd maar is ook, vrijwel onveranderd, overgenomen in elektronische letterzetting. Het is in de jaren '60 populair geworde recentelijk door desktop publishing software zoals Aldus PageMaker die versies van Lorem Ipsum bevatten.</div>

</section>

</div>

</section>

<footer class="footer"> </footer>
<footer class="footer"> FOOTER </footer>

</main>
</body>
Expand Down
44 changes: 41 additions & 3 deletions level-1/step-1/step-1.css
Original file line number Diff line number Diff line change
@@ -1,16 +1,32 @@
.body {
font-family: monospace ;
}

.header {
width: 100%;
height: 100px;
background: #D8D8D8;
font-size: 1.5rem;
font-weight: 600;
text-align: center;
line-height: 100px;
}

/* Use float to get this container in its desired location. */

.content-left {
width: 34%;
/* This height is a placeholder. You will need to make some adjustments to get this container to look like the design. */
height: 100px;

background: #565555;
float: left;
height: 830px;
color: #FFFEFF;
font-size: 1.7rem;
text-align: center;
font-weight: 700;


}


Expand All @@ -19,14 +35,36 @@
.content-mid {
width: 66%;
/* This height is a placeholder. You will need to make some adjustments to get this container to look like the design. */
height: 100px;
height: 800px;
background: #B0B0B0;
float: right;
font-size: 1.1rem;
font-weight: 400;
text-align: center;


}

/* Use float to get this container to the bottom of the screen */

.footer {
width: 100%;
height: 100px;
background: #3A3A3A;
background: #D8D8D8;
position: absolute;
bottom: 0px ;
font-size: 1.5rem;
font-weight: 600;
text-align: center;
color: #101010;
line-height: 100px;
margin-bottom: 0px;
}
/* Use float to get this container in its desired location. */

.content-left {

height: 830px;


}
15 changes: 15 additions & 0 deletions level-1/step-2/step-2.css
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
/* Step-2 You can assign padding to all sides of a container by using the padding shorthand property. */

.content-left {
padding: 20px;


}

/* Step 2 You can assign padding to all sides of a container by using the padding shorthand property. */

.header {
padding: 20px;

}

Expand All @@ -15,25 +18,37 @@

.profile-image-container {
background: #96F0F2;
width: auto;
height: 25%;
margin-bottom: 30px;
}

/* Step-2 One option to get the container to fill the parent container is to use width: auto; */

.profile-links-container {
background: #12F3F7;
width: auto;
height: 60%;
margin-bottom: 20px;
}

/* Step-2 You can either use float left to get this element to in the desired location. */

.logo-container {
background: #4F4949;
width: 7% ;
height: 100% ;
float: right;
}


/* Step-2 You can either use float right to get this element to in the desired location. */

.menu-container {
background: #4F4949;
width: 30% ;
height: 100% ;
float: left;
}


Expand Down
12 changes: 12 additions & 0 deletions level-1/step-3/step-3.css
Original file line number Diff line number Diff line change
@@ -1,17 +1,29 @@
/* Step-3 You can assign padding to all sides of a container by using the padding shorthand property. */

.content-mid {
padding: 80px;


}

.content-mid-header {
background: #444;
width: auto;
height: 30% ;
}

.content-container {
width: auto ;
height: 50%;

}

.content {
background: #D8D8D8;
width:100% ;
height: 400px ;
text-align: center;
line-height: 1.5;
clear: initial;
padding: 15%;
}
11 changes: 8 additions & 3 deletions level-2/step-1/step-1.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,20 @@
height: 375px;
background: #F7F1E7;
position: relative;
}
display: inline-flexbox;
}

.top-header {
.top-header{
width: 100%;
height: 70px;
text-align: center;
background: #D8D8D8;

}




/* Step-1 You need to get all of these elements to line up side by side. What display property would do this for you? */

.menu {
Expand All @@ -24,7 +29,6 @@
.logo {
width: 300px;
height: 40px;
margin-top: 10px;
background: #536A63;
display: inline-block;

Expand All @@ -33,6 +37,7 @@
.sign-in {
width: 100px;
height: 40px;

background: #536A63;
float: right;
}