gpt-4o-mini-2024-07-18· OpenAI
WildChat-4.8M (AI2)
Write a CW4Kids website homepage css
- User
Write a CW4Kids website homepage css
- Assistant
Write a CW4Kids website homepage css
Creating a homepage CSS for a fictional "CW4Kids" website requires a fun and engaging design that appeals to children and their parents. Below is a basic example of how the CSS could be structured. This example assumes there are several key components on the homepage, such as a header, navigation bar, featured shows section, and a footer.
You can use this CSS as a starting point and modify it according to your specific HTML structure.
/* General body styles */
body {
font-family: 'Arial', sans-serif;
margin: 0;
padding: 0;
background-color: #F0F8FF; /* Light blue background */
color: #333; /* Dark text */
}
/* Header styles */
header {
background-color: #FFCC00; /* Bright yellow */
padding: 20px;
text-align: center;
}
header h1 {
font-size: 2.5em;
color: #FF5733; /* Bright orange for the title */
margin: 0;
}
/* Navigation styles */
nav {
background-color: #FF5733; /* Bright orange */
padding: 15px;
}
nav ul {
list-style: none;
padding: 0;
}
nav ul li {
display: inline;
margin-right: 20px;
}
nav ul li a {
color: white;
text-decoration: none;
font-weight: bold;
}
nav ul li a:hover {
text-decoration: underline;
}
/* Featured shows section styles */
.featured-shows {
background-color: #FFF; /* White background for feature */
padding: 20px;
border-radius: 10px;
margin: 20px;
}
.featured-shows h2 {
font-size: 2em;
color: #FF5733; /* Bright orange */
}
.show {
display: flex;
margin-bottom: 15px;
}
.show img {
width: 100px;
height: auto;
border-radius: 10px;
margin-right: 15px;
}
.show p {
font-size: 1.2em;
}
/* Footer styles */
footer {
background-color: #FF5733; /* Bright Orange */
color: white;
text-align: center;
padding: 10px;
position: relative;
bottom: 0;
width: 100%;
}
/* Responsive styles */
@media (max-width: 600px) {
nav ul li {
display: block;
margin-bottom: 10px;
}
.show {
flex-direction: column;
align-items: center;
}
.show img {
margin-bottom: 10px;
}
}
<link rel="stylesheet" href="style.css"> within the <head>.Not yet included in a published release.