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

کد یک صفحه انتخاب غذا با دکمه با پس زمینه مشکی و کد رنگی های #7787A6و #D9886A و به صورت…

  1. User

    کد یک صفحه انتخاب غذا با دکمه با پس زمینه مشکی و کد رنگی های #7787A6و #D9886A و به صورت موبایل responsive

  2. Assistant
        h1 {
            color: #F0E8D6;
            margin-bottom: 20px;
        }
    
        .btn-group {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            width: 100%;
        }
    
        .btn {
            display: inline-block;
            padding: 10px 20px;
            margin-bottom: 10px;
            background-color: #7787A6;
            color: #F0E8D6;
            border: none;
            text-decoration: none;
            font-size: 18px;
            border-radius: 5px;
            transition: 0.3s;
            cursor: pointer;
        }
    
        .btn:hover {
            background-color: #D9886A;
        }
    
        @media (min-width: 600px) {
            .btn-group {
                flex-direction: row;
                justify-content: center;
                gap: 10px;
            }
        }
    </style>
    
  3. User

    از کد رنگی های #D9886A و #7787 استفاده کن و صفحه را خوشگل تر کن

  4. Assistant
        h1 {
            color: #F0E8D6;
            margin-bottom: 20px;
            font-size: 48px;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        }
    
        .btn-group {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            width: 100%;
        }
    
        .btn {
            display: inline-block;
            padding: 10px 20px;
            margin-bottom: 10px;
            background-color: #7787A6;
            color: #F0E8D6;
            border: none;
            text-decoration: none;
            font-size: 18px;
            border-radius: 5px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            transition: 0.3s;
            cursor: pointer;
        }
    
        .btn:hover {
            background-color: #D9886A;
            transform: translateY(-2px);
        }
    
        @media (min-width: 600px) {
            .btn-group {
                flex-direction: row;
                justify-content: center;
                gap: 10px;
            }
        }
    </style>