forked from cmda-minor-web-1718/web-app-from-scratch-17-18
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Basis styling and changed foldername
- Loading branch information
1 parent
394ca9e
commit c372b06
Showing
7 changed files
with
69 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<!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>Document</title> | ||
<link rel="stylesheet" href="static/style.css"> | ||
</head> | ||
<body> | ||
<section class="active"id="start"> | ||
<h1>Start</h1> | ||
<img src="https://unsplash.com/photos/YadCgbsLHcE/download?force=true" alt=""> | ||
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. </p> | ||
</section> | ||
<section id="best-practices"> | ||
<h1>Best Praticess</h1> | ||
<img src="https://unsplash.com/photos/6njoEbtarec/download?force=true" alt=""> | ||
<p>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p> | ||
</section> | ||
<nav> | ||
<li><a href="#start">Start</a></li> | ||
<li><a href="#best-practices">Best Pratices</a></li> | ||
</nav> | ||
<script src="static/app.js"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
body { | ||
background-color: grey; | ||
padding: 3%; | ||
display: flex; | ||
flex-direction: column; | ||
height: 97vh; | ||
} | ||
|
||
section img { | ||
width: 90%; | ||
max-height: 50vh; | ||
} | ||
|
||
section:not(.active) { | ||
display: none; | ||
} | ||
|
||
nav { | ||
margin-top: auto; | ||
height: 3em; | ||
display: flex; | ||
width: 100%; | ||
border-top: 1px solid white; | ||
} | ||
|
||
nav li { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
list-style: none; | ||
width: 50%; | ||
height: 100%; | ||
} | ||
|
||
nav li:first-of-type { | ||
border-right: 1px solid white; | ||
} | ||
|
||
nav a { | ||
color: white; | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.