A
A
Adidamr2021-06-23 10:25:51
css
Adidamr, 2021-06-23 10:25:51

How to create a list of products in one div?

I would like to know: how can I make a list of products by adding an unlimited number of product cards to one div. When added, they go outside the container. But it is necessary that you can add products and they are transferred to a new line, and not go off the page. Maybe you need to do something in js or css fix?
Thanks in advance for your reply

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton, 2021-06-23
@Adidamr

Flex is here to help. It is well described what and how is done here
https://css-tricks.com/snippets/css/a-guide-to-flexbox/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question