Untitled
unknown
plain_text
9 months ago
2.1 kB
5
Indexable
/* General Reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: Arial, sans-serif;
line-height: 1.6;
}
header {
background: #333;
color: #fff;
padding: 1rem 0;
display: flex;
justify-content: space-between;
align-items: center;
}
header .logo img {
width: 150px;
}
nav ul {
list-style: none;
display: flex;
}
nav ul li {
margin-left: 20px;
}
nav ul li a {
color: #fff;
text-decoration: none;
font-weight: bold;
}
#hero {
background: #4c4f56;
color: #fff;
padding: 3rem 0;
text-align: center;
}
.cta-btn {
background: #ff4500;
padding: 10px 20px;
color: #fff;
text-decoration: none;
border-radius: 5px;
font-weight: bold;
}
#products {
padding: 2rem;
background: #f4f4f4;
}
.product-container {
display: flex;
justify-content: space-around;
}
.product-item {
background: #fff;
padding: 1rem;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
text-align: center;
width: 45%;
}
.product-item img {
width: 100%;
height: auto;
border-radius: 5px;
}
.quote-btn {
display: block;
margin-top: 10px;
background: #28a745;
padding: 10px;
color: #fff;
text-decoration: none;
border-radius: 5px;
font-weight: bold;
}
#contact {
padding: 2rem;
background: #fff;
text-align: center;
}
form {
display: flex;
flex-direction: column;
align-items: center;
max-width: 600px;
margin: 0 auto;
}
form label {
margin-top: 10px;
}
form input, form textarea {
width: 100%;
padding: 10px;
margin-top: 5px;
border: 1px solid #ccc;
border-radius: 5px;
}
form button {
background: #007bff;
padding: 10px 20px;
color: #fff;
border: none;
border-radius: 5px;
font-weight: bold;
margin-top: 10px;
}
footer {
background: #333;
color: #fff;
text-align: center;
padding: 1rem 0;
}
Editor is loading...
Leave a Comment