World's Best Recipe Blog
/* Global styles */
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f8f8f8;
}
/* Header styles */
header {
background-color: #333;
color: #fff;
text-align: center;
padding: 1em 0;
}
nav ul {
list-style-type: none;
margin: 0;
padding: 0;
}
nav li {
display: inline;
margin-right: 20px;
}
nav a {
color: #fff;
text-decoration: none;
font-weight: bold;
}
/* Intro section styles */
.intro {
text-align: center;
padding: 3em 0;
}
.button {
display: inline-block;
padding: 10px 20px;
background-color: #3498db;
color: #fff;
text-decoration: none;
border-radius: 5px;
font-weight: bold;
cursor: pointer;
transition: background-color 0.3s;
}
.button:hover {
background-color: #2980b9;
}
/* Recipes section styles */
.recipes {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin: 2em 0;
}
.recipe {
margin: 1em;
border: 1px solid #ccc;
border-radius: 5px;
padding: 1em;
background-color: #fff;
box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
text-align: center;
}
.recipe img {https://th.bing.com/th/id/OIG.qJbkUC8t3nnNotZcpZRG?pid=ImgGn
max-width: 100%;
border-radius: 5px;
}
/* Footer styles */
footer {
text-align: center;
padding: 1em 0;
background-color: #333;
color: #fff;
}
Welcome to Our Recipe Blog
Explore a world of delicious recipes curated just for you. From mouth-watering appetizers to decadent desserts, we have it all.
Browse Recipes
Classic Chocolate Cake
Indulge in the rich and velvety goodness of our classic chocolate cake. Perfect for any occasion.
View Recipe
Spicy Grilled Tofu
Fire up your taste buds with our spicy grilled tofu. A vegetarian delight that packs a punch.
View Recipe
No comments:
Post a Comment