Last active
March 8, 2018 09:45
-
-
Save gallirohik/7538d4d6fd8473f90cf0eaf983aa84fd to your computer and use it in GitHub Desktop.
index page
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<title>Bootstrap Example</title> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> | |
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script> | |
<style> | |
/* Remove the navbar's default rounded borders and increase the bottom margin */ | |
.navbar { | |
margin-bottom: 50px; | |
border-radius: 0; | |
} | |
/* Remove the jumbotron's default bottom margin */ | |
.jumbotron { | |
margin-bottom: 0; | |
} | |
/* Add a gray background color and some padding to the footer */ | |
footer { | |
background-color: #f2f2f2; | |
padding: 25px; | |
} | |
.button { | |
background-color: #4CAF50; /* Green */ | |
border: none; | |
color: white; | |
text-align: center; | |
text-decoration: none; | |
display: inline-block; | |
font-size: 16px; | |
margin: 4px 2px 0px 5px; | |
cursor: pointer; | |
margin-left:60%; | |
} | |
.button1 {padding: 10px 24px;} | |
panel1{ | |
height:auto; | |
width:auto; | |
} | |
</style> | |
</head> | |
<body> | |
<div class="jumbotron"> | |
<div class="container text-center"> | |
<h1>The Greenery</h1> | |
<p>Mission, Vission & Values</p> | |
</div> | |
</div> | |
<nav class="navbar navbar-inverse"> | |
<div class="container-fluid"> | |
<div class="navbar-header"> | |
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar"> | |
<span class="icon-bar"></span> | |
<span class="icon-bar"></span> | |
<span class="icon-bar"></span> | |
</button> | |
<img class="navbar-brand" src="images/logo.png"></img> | |
</div> | |
<div class="collapse navbar-collapse" id="myNavbar"> | |
<ul class="nav navbar-nav"> | |
<li class="active"><a href="#">Home</a></li> | |
<li><a href="#">Deals</a></li> | |
<li><a href="#">Contact</a></li> | |
</ul> | |
<ul class="nav navbar-nav navbar-right"> | |
<li><a href="#"><span class="glyphicon glyphicon-user"></span> Your Account</a></li> | |
<li><a href="#"><span class="glyphicon glyphicon-shopping-cart"></span> Cart</a></li> | |
</ul> | |
</div> | |
</div> | |
</nav> | |
<div class="container"> | |
<div class="row"> | |
<div class="col-sm-4"> | |
<div class="panel panel1"> | |
<div class="panel-name">PLANT 1</div> | |
<div class="panel-body"><img src="images/img1.jpeg" class="img-responsive" style="width:100%" alt="Image"></div> | |
<div class=""><button class="button button1"><span class="glyphicon glyphicon-shopping-cart" value="plant1"></span> Add cart</button></div> | |
</div> | |
</div> | |
<div class="col-sm-4"> | |
<div class="panel panel1"> | |
<div class="panel-name">PLANT 1</div> | |
<div class="panel-body"><img src="images/img1.jpeg" class="img-responsive" style="width:100%" alt="Image"></div> | |
<div class=""><button class="button button1"><span class="glyphicon glyphicon-shopping-cart" value="plant1"></span> Add cart</button></div> | |
</div> | |
</div> | |
<div class="col-sm-4"> | |
<div class="panel panel1"> | |
<div class="panel-name">PLANT 1</div> | |
<div class="panel-body"><img src="images/img1.jpeg" class="img-responsive" style="width:100%" alt="Image"></div> | |
<div class=""><button class="button button1"><span class="glyphicon glyphicon-shopping-cart" value="plant1"></span> Add cart</button></div> | |
</div> | |
</div> | |
</div><br> | |
<div class="container"> | |
<div class="row"> | |
<div class="col-sm-4"> | |
<div class="panel panel1"> | |
<div class="panel-name">PLANT 1</div> | |
<div class="panel-body"><img src="images/img1.jpeg" class="img-responsive" style="width:100%" alt="Image"></div> | |
<div class=""><button class="button button1"><span class="glyphicon glyphicon-shopping-cart" value="plant1"></span> Add cart</button></div> | |
</div> | |
</div> | |
<div class="col-sm-4"> | |
<div class="panel panel1"> | |
<div class="panel-name">PLANT 1</div> | |
<div class="panel-body"><img src="images/img1.jpeg" class="img-responsive" style="width:100%" alt="Image"></div> | |
<div class=""><button class="button button1"><span class="glyphicon glyphicon-shopping-cart" value="plant1"></span> Add cart</button></div> | |
</div> | |
</div> | |
<div class="col-sm-4"> | |
<div class="panel panel1"> | |
<div class="panel-name">PLANT 1</div> | |
<div class="panel-body"><img src="images/img1.jpeg" class="img-responsive" style="width:100%" alt="Image"></div> | |
<div class=""><button class="button button1"><span class="glyphicon glyphicon-shopping-cart" value="plant1"></span> Add cart</button></div> | |
</div> | |
</div> | |
</div> | |
</div><br><br> | |
<footer class="container-fluid text-center"> | |
<p>Online Store Copyright</p> | |
<form class="form-inline">Get deals: | |
<input type="email" class="form-control" size="50" placeholder="Email Address"> | |
<button type="button" class="btn btn-danger">Sign Up</button> | |
</form> | |
</footer> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment