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

Напиши код html на котором по середине стоит форма и в ней поле ввода скидочной карты и…

  1. User

    Напиши код html на котором по середине стоит форма и в ней поле ввода скидочной карты и кноппка ввод табличку оформи в зелёных цветах

  2. Assistant
      td,
      th {
        border: 1px solid green;
        padding: 10px;
        text-align: center;
        font-size: 18px;
        font-weight: bold;
      }
    
      input[type="text"] {
        width: 100%;
        padding: 8px;
        border: 1px solid green;
        border-radius: 4px;
        box-sizing: border-box;
        margin-top: 10px;
        margin-bottom: 10px;
        font-size: 18px;
      }
    
      input[type="submit"] {
        background-color: green;
        color: white;
        padding: 10px;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        font-size: 18px;
        font-weight: bold;
        margin-bottom: 10px;
      }
    
      input[type="submit"]:hover {
        background-color: darkgreen;
      }
    
      .form-container {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100vh;
        width: 100%;
      }
    
      .form-wrapper {
        border: 2px solid green;
        padding: 20px;
        border-radius: 10px;
        background-color: #fff;
        max-width: 500px;
        width: 100%;
      }
    
      h1 {
        text-align: center;
        color: green;
        margin-top: 0;
      }
    </style>
    

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