Skip to content
TheChatArchiveThe Chat Archive
gpt-3.5-turbo-0301· OpenAIAi2 WildChat-4.8M (AI2)

Generate CSS based on this: a modern one with a teal color

  1. User

    Generate CSS based on this: a modern one with a teal color

  2. Assistant

    Here is an example of CSS with a modern design and teal color:

    body { font-family: 'Roboto', sans-serif; background-color: #f3f3f3; }

    .container { max-width: 1200px; margin: 0 auto; padding: 30px; background-color: #fff; box-shadow: 0px 3px 10px rgba(0,0,0,0.1); border-radius: 10px; }

    h1 { font-size: 48px; color: #333; margin-bottom: 30px; }

    p { font-size: 18px; line-height: 1.5; color: #666; margin-bottom: 20px; }

    .button { display: inline-block; background-color: #008080; color: #fff; font-size: 18px; padding: 10px 20px; border-radius: 5px; text-decoration: none; margin-top: 20px; transition: all 0.3s ease-in-out; }

    .button:hover { background-color: #006666; }

    This CSS code uses a modern font, Roboto, and a background color of light gray. The container has a white background with a teal color accent. The header is large and dark, and the body text is a smaller size in a light gray color. The button uses the teal color as a background and white text. When hovered over, the background color darkens slightly for a more interactive effect.