Skip to content
TheChatArchiveThe Chat Archive
gpt-4-0314· OpenAIAi2 WildChat-4.8M (AI2)

generate html contact form with modern ui

  1. User

    generate html contact form with modern ui

  2. Assistant
        .contact-form {
            background-color: #ffffff;
            box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.15);
            padding: 30px 40px;
            max-width: 600px;
            width: 100%;
        }
    
        .contact-form h2 {
            display: inline-block;
            font-size: 26px;
            margin-bottom: 20px;
            color:#4A4A4A;
        }
    
        .input-field {
            width: 100%;
            border-bottom: 2px solid #d8d8d8;
            margin-bottom: 10px;
        }
    
        .input-field input, .input-field textarea {
            border: none;
            outline: none;
            width: 100%;
            padding: 0 0 5px 0;
            font-size: 16px;
        }
    
        .input-field input:focus, .input_FIELD textarea:focus {
            border-bottom: 2px solid #4664c8;
        }
    
        .input-field textarea {
            resize: none;
            min-height: 100px;
        }
    
        .submit-button {
            width: 100%;
            padding: 10px 0;
            background-color: #4664c8;
            border: none;
            color: #ffffff;
            font-size: 18px;
            outline: none;
            cursor: pointer;
            transition: background-color .3s;
        }
    
        .submit-button:hover {
            background-color: #3552b5;
        }
    </style>