dropshado.ws

Flex box with collapsed height (opens in new tab)

By default, makes item elements inherit the height of their container. To disable this behavior, and collapse item heights, use align: start (or the proper variation there-of). .row { /* flex box */ display: -webkit-box; display: -moz-box; display: -ms-flexbox; display: -webkit-flex; display: flex; /* align start, disable vertical height */ -webkit-box-align: start; -moz-box-align: start; /* FF <=20 */ -ms-flex-align: start; /* IE10 */ -webkit-align-items: flex-start; align-items: flex-start; }

Read the original article
Sign in to keep reading the full article.

Keyboard Shortcuts

Navigation

Next / previous post
j/k
Open post
oorEnter
Preview post
v

Post Actions

Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Save / unsave
s

Recommendations

Add interest / feed
Enter
Not interested
x

Go to

Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Discover
gb
Search
/

General

Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help