Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
kafeichong committed Dec 24, 2017
0 parents commit 7a12097
Show file tree
Hide file tree
Showing 5 changed files with 136 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.DS_Store
1 change: 1 addition & 0 deletions README.MD
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Travel Destinations
55 changes: 55 additions & 0 deletions app.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
html {
box-sizing: border-box;
height: 100%;
}

*,
*::before,
*::after {
box-sizing: inherit;
}

body {
display: flex;
margin: 0;
height: 100%;
}

.container {
margin: auto;
padding: 1em;
width: 80%;
}

.destination-container {
display: flex;
flex-flow: wrap;
justify-content: center;
}

.destination {
background: #03a9f4;
box-shadow: 0 1px 9px 0 rgba(0, 0, 0, 0.4);
color: white;
margin: 0.5em;
min-height: 200px;
flex: 0 1 200px;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
}

h2 {
margin: 0;
transform: rotate(-45deg);
text-shadow: 0 0 5px #01579b;
}

#florida {
background-color: #03a9f4;
}

#paris {
background-color: #d32f2f;
}
55 changes: 55 additions & 0 deletions css/app.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
html {
box-sizing: border-box;
height: 100%;
}

*,
*::before,
*::after {
box-sizing: inherit;
}

body {
display: flex;
margin: 0;
height: 100%;
}

.container {
margin: auto;
padding: 1em;
width: 80%;
}

.destination-container {
display: flex;
flex-flow: wrap;
justify-content: center;
}

.destination {
background: #03a9f4;
box-shadow: 0 1px 9px 0 rgba(0, 0, 0, 0.4);
color: white;
margin: 0.5em;
min-height: 200px;
flex: 0 1 200px;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
}

h2 {
margin: 0;
transform: rotate(-45deg);
text-shadow: 0 0 5px #01579b;
}

#florida {
background-color: #03a9f4;
}

#paris {
background-color: #d32f2f;
}
24 changes: 24 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Travels</title>
<meta name="description" content="">
<link rel="stylesheet" href="css/app.css">
</head>
<body>

<div class="container">
<div class="destination-container">
<div class="destination" id="florida">
<h2>Florida</h2>
</div>

<div class="destination" id="paris">
<h2>Paris</h2>
</div>
</div>
</div>

</body>
</html>

0 comments on commit 7a12097

Please sign in to comment.