Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1479444

    this here is an example page – everything is well set – the parent container is set correct – but it does not do what i like to have.
    Has anyone an idea why this does not work ?

    https://webers-testseite.de/container-queries/

    all modern browsers should support that: https://caniuse.com/css-container-queries

    PS: what is the benefit of that
    you can set responsive breaks by inner width of a parent container and not in relation to screen-width!

    #1479451

    ok – i found the solution.
    A size (inline size) can only be measured for block or inline elements. Because Enfold shows the flex_cell as display: table – it could not work.
    But we can set to show as display: block with float left – then it works. – see link above

    #1479458

    Hi,
    Thanks for sharing your findings.

    Best regards,
    Mike

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.