Jiggle
Jiggle
KPCKevin Powell - Community
Created by Jiggle on 10/18/2023 in #front-end
Flexbox and borders
thank you a lot, @Jochem and @MarkBoots .
32 replies
KPCKevin Powell - Community
Created by Jiggle on 10/18/2023 in #front-end
Flexbox and borders
is there technical reason why flex-basis: auto couldn't have taken care of this?
32 replies
KPCKevin Powell - Community
Created by Jiggle on 10/18/2023 in #front-end
Flexbox and borders
but I'd expect that flexbox would have considered this somehow
32 replies
KPCKevin Powell - Community
Created by Jiggle on 10/18/2023 in #front-end
Flexbox and borders
yes. this works. thank you. apparently, because border doesn't get "squished" all the way to zero as the content itself, basis needs to start not from zero but from size of borderx2
32 replies
KPCKevin Powell - Community
Created by Jiggle on 10/18/2023 in #front-end
Flexbox and borders
exactly. and isn't it strange that flex does not take the border into account?
32 replies
KPCKevin Powell - Community
Created by Jiggle on 10/18/2023 in #front-end
Flexbox and borders
there's small difference. but remove the border and they have exactly equal widths
32 replies
KPCKevin Powell - Community
Created by Jiggle on 10/18/2023 in #front-end
Flexbox and borders
not 50/50 with the border
32 replies
KPCKevin Powell - Community
Created by Jiggle on 10/18/2023 in #front-end
Flexbox and borders
i mean they are not distributed equally once the border is introduced
32 replies
KPCKevin Powell - Community
Created by Jiggle on 10/18/2023 in #front-end
Flexbox and borders
please see the code
32 replies
KPCKevin Powell - Community
Created by Jiggle on 10/18/2023 in #front-end
Flexbox and borders
32 replies
KPCKevin Powell - Community
Created by Jiggle on 10/18/2023 in #front-end
Flexbox and borders
yes. a minute
32 replies
KPCKevin Powell - Community
Created by Jiggle on 10/18/2023 in #front-end
Flexbox and borders
since I posted I fiddled with the flex options. seems like it works if I give them explicit widths using flex-basis. But why doesn't it take the border into account by default? Would like to understand that
32 replies
KPCKevin Powell - Community
Created by Jiggle on 10/18/2023 in #front-end
Flexbox and borders
32 replies
KPCKevin Powell - Community
Created by Jiggle on 10/18/2023 in #front-end
Flexbox and borders
im using border only. here are the files
32 replies
KPCKevin Powell - Community
Created by Jiggle on 10/18/2023 in #front-end
Flexbox and borders
No description
32 replies