Customer Loyalty
by Avnish Sanujay
HTML
<!DOCTYPE html>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="http://www.w3schools.com/lib/w3.css">
<link rel="stylesheet" type="text/css" href="CustomerLoyaltyProgram.css">
<html>
<body bgcolor="#E6E6FA">
<CENTER>
<head>
<title>No Wheat Treats</title>
</head>
<body>
<img src="https://static.wixstatic.com/media/14f61a_08a2342508154e9ab4c30c7c4550eded.png/v1/fill/w_236,h_180,al_c,lg_1/14f61a_08a2342508154e9ab4c30c7c4550eded.png" width="300" height="200" margin-left: center>
</CENTER>
</body>
</html>
<nav class="nav">
<ul>
<li>
<a href="#">Home</a>
</li>
<li>
<a href="#">About Us</a>
</li>
<li>
<a href="#">Bakery Menu</a>
</li>
<li>
<a href="#">Restaurant Menu<span class="">▾</span></a>
<ul>
<li><a href="#">Apetizers</a></li>
<li><a href="#">Entres</a></li>
<li><a href="#">Deserts</a></li>
</ul>
</li>
<li>
<a href="#">Contact Us</a>
</li>
<li>
<a href="#">More<span class="">▾</span></a>
<ul>
<li><a href="#">Reservations</a></li>
<li><a href="#">Customer Loyalty Program</a></li>
<li><a href="#">Reviews</a></li>
<li><a href="#">FBLA Credits</a></li>
</ul>
</ul>
</nav>
<center>
<img. src="https://static.wixstatic.com/media/14f61a_525157067a8c46638a00413a148e993a.jpg/v1/fill/w_505,h_511,al_c,q_80,usm_0.66_1.00_0.01/14f61a_525157067a8c46638a00413a148e993a.jpg" alt="Bakery" position: relative2; top: 300px; left: 100px;>
</head>
<CENTER>
<!DOCTYPE html>
<html>
<head>
<style>
div {
background-color: #F5ECCE;
width: 300px;
padding: 25px;
margin: 25px;
}
</style>
</head>
<body>
<!DOCTYPE html>
<html>
<head>
<style>
div {
background-color:...
CSS
.nav ul {
*zoom:1;
list-style:none;
margin:0;
padding:0;
background:#F5ECCE;
}
.nav ul:before,.nav ul:after {
content:"";
display:table;
}
.nav ul:after {
clear:both;
}
.nav ul > li {
float:left;
position:relative;
left: 30%;
}
.nav a {
display:block;
padding:10px 20px;
line-height:1.2em;
color:#595959;
border-left:1px solid #595959;
text-decoration:none;
}
.nav a:hover {
text-decoration:none;
background:#F5ECCE;
}
.nav li ul {
background: #FFF9DE;
}
.nav li ul li {
width:200px;
}
.nav li ul a {
border:none;
}
.nav li ul a:hover {
background:rgba(0,0,0,0.2);
}
.nav li ul {
position:absolute;
left:0;
top:36px;
z-index:1;
max-height:0;
overflow:hidden;
-webkit-transform:perspective(400) rotate3d(1,0,0,-90deg);
-webkit-transform-origin:50% 0;
-webkit-transition:350ms;
-moz-transition:350ms;
-o-transition:350ms;
transition:350ms;
}
.nav ul > li:hover ul {
max-height:1000px;
-webkit-transform:perspective(400) rotate3d(0,0,0,0);
}
#triangle-down {
width: 0;
height: 0;
border-left: 69px solid transparent;
border-right: 69px solid transparent;
border-top: 69px solid black;
}
img. {
position: relative;
top: 00px;
left: 20px;
width: 500px;
}