flex-box-with add item - Forum

Forum Navigation
You need to log in to create posts and topics.

flex-box-with add item

I have a container with some items and also I have applied css flexbox on this container.

when I add new item into the container,

How can I configure the new item follow the rule of previous items?

I have tried this:

SetObjectStyle "new[index]" "position" "relative"

but it does not work like something I have expection.

How shoud I solve this problem?

 

Uploaded files:
  • You need to login to have access to uploads.

Hi @asmat,

I'm not sure how your sample works, but if I use:

SetObjectStyle "new[index]" "position" "static"

It works?

Anyway I think it is better to create a new CSS class for the inner Containers and use addClass instead of setObjectStyle.