DEV Community

Discussion on: Flexbox Cheat Sheets

Collapse
brob profile image
Bryan Robinson

Hey y'all, big fan of the podcast! Really love these cheat sheets you’ve been releasing as well. I did notice that for align-items it mentions flex-start as the default, but it’s my understanding (I went and confirmed here:
developer.mozilla.org/en-US/docs/W...) that ‘stretch’ is the default for flex items. Wanted to let you know! Again, really great stuff and can’t wait to see more like this!

Collapse
bstewart profile image
Brayden Stewart

Not to be super corrective, but to future readers the "initial value" of align-items is normal, which behaves similar to flex-start. MDN is kinda confusing because the demo starts with stretch but clearly states the initial value at the bottom of the screen.

Source: developer.mozilla.org/en-US/docs/W...