Tuan3 Bai2
Tuan3 Bai2
git
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>FlowerBox 360</title>
</head>
<style>
/* Reset */
*{
margin: 0;
padding: 0;
box-sizing: border-box;
body {
color: #333;
background-color: #f9f9f9;
/* Header */
header {
display: flex;
justify-content: space-between;
align-items: center;
background-color: #2b4e7e;
color: white;
header .logo h1 {
font-size: 28px;
font-weight: bold;
header p {
font-size: 14px;
header .search-bar {
display: flex;
align-items: center;
padding: 5px;
border-radius: 3px;
background-color: #3e72b4;
color: white;
border: none;
margin-left: 5px;
cursor: pointer;
/* Navigation */
nav {
background-color: #3e72b4;
text-align: center;
padding: 10px;
nav a {
color: white;
text-decoration: none;
display: inline-block;
nav a:hover {
background-color: #2b4e7e;
/* Main Content */
.container {
display: flex;
justify-content: space-between;
margin: 20px;
}
.contact-form,
.info-section,
.discounts {
background-color: white;
padding: 20px;
border-radius: 5px;
.contact-form {
flex: 2;
margin-right: 10px;
.contact-form h2,
.info-section h2,
.discounts h2 {
color: #2b4e7e;
margin-bottom: 10px;
.contact-form .highlight {
color: red;
margin-bottom: 15px;
}
form .form-group {
display: flex;
justify-content: space-between;
margin-bottom: 10px;
form label {
display: block;
font-weight: bold;
margin-bottom: 5px;
form input,
form textarea {
width: 100%;
padding: 8px;
margin-right: 10px;
border-radius: 3px;
form button {
background-color: #3e72b4;
color: white;
border: none;
cursor: pointer;
}
form button:hover {
background-color: #2b4e7e;
.info-section {
flex: 1;
margin-right: 10px;
.discounts {
flex: 1;
text-align: center;
.discounts img {
width: 100%;
margin-bottom: 10px;
.discounts a {
text-decoration: none;
color: #2b4e7e;
font-weight: bold;
#fl {
float: left;
height: 100px;
width: 100px;
/* Footer */
footer {
background-color: #2b4e7e;
color: white;
text-align: center;
font-size: 14px;
footer span {
font-style: italic;
</style>
<body>
<header>
<div class="logo">
<h1>FlowerBox 360</h1>
</div>
<div class="search-bar">
<button>GO</button>
</div>
</header>
<nav>
<a href="#">Home</a>
<a href="#">Promotion</a>
<a href="#">About</a>
</nav>
<div class="container">
<section class="contact-form">
<p class="highlight">
<em>For FlowerBox 360 shoppers, that means not only can you send your friends and loved
ones the highest quality flowers found online, but that you can do so at a great value.</em>
</p>
<form>
<div class="form-group">
<label for="name">Name:</label>
<label for="email">Email:</label>
</div>
<div class="form-group">
<label for="phone">Telephone:</label>
<input type="text" id="phone">
<label for="subject">Subject:</label>
</div>
<div class="form-group">
<label for="message">Message:</label>
</div>
<button type="submit">Submit</button>
<button type="reset">Reset</button>
</form>
</section>
<aside class="info-section">
<p>
</p>
<p>
</p>
</aside>
<aside class="discounts">
<p>
FlowerBox 360 offers many great discounts throughout the year, from coupons and coupon
codes, to promo codes and other savings. We also offer military flower discounts to our wonderful
troops!
</p>
</aside>
</div>
<footer>
</footer>
</body>
</html>