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 <html> <head> <meta…

  1. User

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

  2. Assistant

    /* CSS Style for I9K website */

    /* Global Styles */

    • { box-sizing: border-box; margin: 0; padding: 0; }

    html, body { font-family: Arial, sans-serif; }

    /* Header */ header { background-color: teal; display: flex; justify-content: space-between; align-items: center; padding: 10px 20px; }

    .nav-links a { color: white; text-decoration: none; font-size: 20px; margin-right: 15px; }

    /* Content */ .content { padding: 20px; }

    h2 { font-size: 28px; margin-bottom: 20px; color: teal; }

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

    ul { list-style: none; font-size: 18px; margin-bottom: 20px; }

    ul li { margin-bottom: 10px; }

    a { color: teal; text-decoration: none; }

    /* Footer */ footer { background-color: lightgray; padding: 20px; text-align: center; font-size: 16px; }

    h1 { margin-bottom: 10px; color: teal; }

    small { display: block; color: gray; margin-top: 10px; }