gpt-4-0314· OpenAI
WildChat-4.8M (AI2)
کد یک صفحه انتخاب موارد های مختلف به صورت دکمه های دایره ای با پس زمینه مشکی و کد رنگی…
- User
کد یک صفحه انتخاب موارد های مختلف به صورت دکمه های دایره ای با پس زمینه مشکی و کد رنگی های #7787A6و #D9886A و به صورت موبایل responsive
- Assistant
.container { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; height: 100vh; padding: 10px; } .option { display: flex; justify-content: center; align-items: center; width: 100px; height: 100px; margin: 20px; border-radius: 50%; text-transform: uppercase; font-weight: bold; cursor: pointer; } .option:hover { transform: scale(1.1); transition: all 0.3s ease; } .option-one { background-color: #7787A6; color: white; } .option-two { background-color: #D9886A; color: white; } @media screen and (max-width: 480px) { .option { width: 80px; height: 80px; margin: 10px; font-size: 14px; } } </style> - User
دکمه ها را توی صفحه موبایل دو ردیف دوتایی بکن
- Assistant
.container { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; height: 100vh; padding: 10px; width: 80%; margin: auto; } .option { display: flex; justify-content: center; align-items: center; width: 100px; height: 100px; margin: 20px; border-radius: 50%; text-transform: uppercase; font-weight: bold; cursor: pointer; flex-basis: calc(50% - 40px); } .option:hover { transform: scale(1.1); transition: all 0.3s ease; } .option-one { background-color: #7787A6; color: white; } .option-two { background-color: #D9886A; color: white; } @media screen and (max-width: 480px) { .option { width: 80px; height: 80px; margin: 10px; font-size: 14px; } } </style> - User
یک header و footer به آن اضافه کن
- Assistant
header, footer { background-color: #333; color: white; padding: 20px; text-align: center; width: 100%; } .container { flex-grow: 1; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; height: 100%; padding: 10px; width: 80%; margin: auto; } .option { display: flex; justify-content: center; align-items: center; width: 100px; height: 100px; margin: 20px; border-radius: 50%; text-transform: uppercase; font-weight: bold; cursor: pointer; flex-basis: calc(50% - 40px); } .option:hover { transform: scale(1.1); transition: all 0.3s ease; } .option-one { background-color: #7787A6; color: white; } .option-two { background-color: #D9886A; color: white; } @media screen and (max-width: 480px) { .option { width: 80px; height: 80px; margin: 10px; font-size: 14px; } } </style> - User
کد یک صفحه درباره ما با رنگ ها و تم صفحه قبلی
- Assistant
header, footer { background-color: #333; color: white; padding: 20px; text-align: center; width: 100%; } .container { flex-grow: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; height: 100%; padding: 10px; width: 80%; margin: auto; } h1 { color: #7787A6; font-size: 36px; margin-bottom: 30px; } p { font-size: 18px; color: #D9886A; text-align: justify; line-height: 1.6; } @media screen and (max-width: 480px) { h1 { font-size: 30px; } p { font-size: 16px; } } </style>