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

Help me build html and css template fullpage

  1. User

    Help me build html and css template fullpage

  2. Assistant

    Sure! Here is a simple example of a full-page HTML and CSS template:

    HTML:

    <!DOCTYPE html>
    <html lang="en">
    <head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Fullpage Template</title>
    <link rel="stylesheet" href="styles.css">
    </head>
    <body>
    <div class="fullpage">
      <header>
        <h1>This is the Header</h1>
      </header>
      <main>
        <h2>Welcome to the fullpage template</h2>
        <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce lectus mauris, malesuada id arcu ac, pretium molestie justo.</p>
      </main>
      <footer>
        <p>&copy; 2021 Fullpage Template</p>
      </footer>
    </div>
    </body>
    </html>
    

    CSS (styles.css):

    body, html {
      margin: 0;
      padding: 0;
      font-family: Arial, sans-serif;
    }
    
    .fullpage {
      height: 100vh;
      display: flex;
      flex-direction: column;
    }
    
    header {
      background: #333;
      color: #fff;
      text-align: center;
      padding: 10px 0;
    }
    
    main {
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
    }
    
    footer {
      background: #333;
      color: #fff;
      text-align: center;
      padding: 10px 0;
    }
    

    You can customize this template further by adding more content, changing colors, fonts, etc. Let me know if you need any more help!

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.