Flex right and left division with certain gap in the middle

Thanks.

Could not get this point because the class clicked is in body now. How will the independent class be declared active?

I didnā€™t find a class named ā€œclickedā€.

If you use :active, a transition will happen when you click on part of the hamburger. I am not sure if that is what you want :grinning:

:active doesnā€™t apply to divs but raise a good point that the hamburger really should be a button element as it creates an action :slight_smile:

The transition works.

1 Like

Sorry Iā€™m not following or Iā€™m probably misunderstanding something :slight_smile:

What has :active got to do with the transition?

1 Like

Perhaps I have not examined this lengthy thread in sufficient detail.

What is triggering the transitions if you are not using :active or :hover or similar?

1 Like

Yes its a bit of a convoluted thread to follow and has veered off topic a bit :slight_smile:

There was some JS adding a class when the hamburger was clicked. The class that was added was used to trigger the transition. (Thereā€™s also a JS thread tied to this question that may help tie up some loose ends.)

However, I believe that part has been resolved satisfactorily now.:wink:

1 Like

flex-wrap: wrap , but this doesnā€™t give a gap between the two left and right.

Would a column-gap: not resolve the issue?

1 Like

A post was merged into an existing topic: Flex WRAP discussion

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.