Skip to content

Commit

Permalink
add backround hero image
Browse files Browse the repository at this point in the history
  • Loading branch information
AustinNguyen2909 committed May 9, 2019
1 parent a899635 commit 94c77ee
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Adopt your Platypus</title>
<title>Help a Platypus</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel='icon' href='img/platypus-favicon.png' type='image/x-icon'>
Expand All @@ -23,7 +23,7 @@
<p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="#">upgrade your browser</a> to improve your experience.</p>
<![endif]-->

<nav class="bg-black">
<nav class="bg-black fixed-top row">
<div class="container navbar-nav navbar-light navbar-expand-lg py-2">
<a href="#" class="navbar-brand"><img src="img/platypus-logo.png" alt="Startup-logo" height="45px"></a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
Expand Down
8 changes: 7 additions & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ nav {
header {
background-color: white;
min-height: 400px;
background-image: url("img/platypus-hero2.jpg");
background-attachment: fixed;
background-repeat: no-repeat;
background-position: center;
background-size: cover;
height: 650px;
}

.environment {
Expand All @@ -44,7 +50,7 @@ footer {
/*nav-style*/

.bg-black {
background-color: rgba(48, 24, 24, 1.0);
background-color: rgba(48, 24, 24, .8);
}

.nav-linkto {
Expand Down

0 comments on commit 94c77ee

Please sign in to comment.