Display: flex
Page 1 of 1
Interinactive
VIP Member



Posts: 29477

PostPosted: Sun, 29th Mar 2015 01:46    Post subject: Display: flex
Is this a correct use case?

Display: flex on a <ul>, and then every <li> has either a pixel or percentage based width.

The main reason I want to use it is so that I can utilise align-items: center (vertical alignment).

It seems to work well, and I can't get it working this nicely with anything else, but it feels wrong because I'm not actually using any flex values on the list items.

Thanks
Back to top
Interinactive
VIP Member



Posts: 29477

PostPosted: Mon, 30th Mar 2015 09:47    Post subject:
⁢⁢


Last edited by Interinactive on Tue, 5th Oct 2021 01:04; edited 1 time in total
Back to top
Werelds
Special Little Man



Posts: 15098
Location: 0100111001001100
PostPosted: Mon, 30th Mar 2015 10:04    Post subject:
There, replied to your SO post Razz
Back to top
Interinactive
VIP Member



Posts: 29477

PostPosted: Mon, 30th Mar 2015 10:09    Post subject:
⁢⁢


Last edited by Interinactive on Tue, 5th Oct 2021 01:04; edited 1 time in total
Back to top
garus
VIP Member



Posts: 34197

PostPosted: Mon, 30th Mar 2015 10:46    Post subject:
snip


Last edited by garus on Tue, 27th Aug 2024 21:41; edited 1 time in total
Back to top
dingo_d
VIP Member



Posts: 14555

PostPosted: Mon, 30th Mar 2015 17:08    Post subject:
garus wrote:
Upvoted you both Focused


+1 Very Happy


"Quantum mechanics is actually, contrary to it's reputation, unbeliveably simple, once you take the physics out."
Scott Aaronson
chiv wrote:
thats true you know. newton didnt discover gravity. the apple told him about it, and then he killed it. the core was never found.

Back to top
LeoNatan
☢ NFOHump Despot ☢



Posts: 73250
Location: Ramat HaSharon, Israel 🇮🇱
PostPosted: Wed, 1st Apr 2015 08:52    Post subject:
Upvote some of my answers as well pls Sad
Back to top
dingo_d
VIP Member



Posts: 14555

PostPosted: Wed, 1st Apr 2015 09:04    Post subject:
Holy fuck, you have 31.6k rep

*feels bad man*

xD


"Quantum mechanics is actually, contrary to it's reputation, unbeliveably simple, once you take the physics out."
Scott Aaronson
chiv wrote:
thats true you know. newton didnt discover gravity. the apple told him about it, and then he killed it. the core was never found.

Back to top
LeoNatan
☢ NFOHump Despot ☢



Posts: 73250
Location: Ramat HaSharon, Israel 🇮🇱
PostPosted: Wed, 1st Apr 2015 09:08    Post subject:
I will ++ you as well, send me your account.
Back to top
Page 1 of 1 All times are GMT + 1 Hour
NFOHump.com Forum Index - Programmers Corner
Signature/Avatar nuking: none (can be changed in your profile)  


Display posts from previous:   

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2.0.8 © 2001, 2002 phpBB Group