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

Generate a CSS for this gallery thingy <div class="gallery"> <div…

  1. User

    Generate a CSS for this gallery thingy

  2. Assistant

    .gallery { display: flex; flex-wrap: wrap; justify-content: center; }

    .gallery-item { margin: 10px; width: 300px; display: flex; flex-direction: column; align-items: center; }

    .gallery-item img { width: 100%; height: auto; }

    .gallery-item p { margin: 10px 0 0; text-align: center; }