Why is there gaps on both sides of the children in this flex container ?
Can someone explain me this?
25 Replies
Its the first child , I thought gaps only applied on the front
that is 1 direction
That looks like spacing not gap?
Helps if you share code
its row gap I swear
and I can't share code because its made in web flow
but i can share the the demo link for website, so you can inspect
is there a element with 0 height before play maybe?
you can just inspect element
there is no element or another child
i can share you the html
html and css we need
https://zapify-77bb67.webflow.io/
here is the website
lemme share you the css and html
this will be fine.
wait dont open it
ignore the grid properties 🙂
if i have to ignore it, please remove it. some grid/flex properties are shared. it can interfere
they dont , otherwise the dev tools would not show them that they are inactive ?
i think its happening inside .text-block-8. but it would be really more usefull to have something live to play with
i can help you with that
this is to difficult from just a few snippets and screenshots. I can't help
turn the
home-2
class to display blockI am trying my all to help you understand 😦
I'm not getting the same result as you
WTF
if there is no extra element maybe you have pseudo element ?? those are counted in flexbox to
i think you are onto something
yeah you are right 🙂
thank you for solving the mystery
I swear I didnt add them in css , I hate working in webflow , feel like it adds unnecessary styling or markups 😦
:thumbup:
I didn't know this 👀