programming.dev
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
codeinabox to CSSEnglish · 4 days ago

Flexbox Masonry Layout (Explained with Math)

frontendmasters.com

external-link
message-square
0
link
fedilink
7
external-link

Flexbox Masonry Layout (Explained with Math)

frontendmasters.com

codeinabox to CSSEnglish · 4 days ago
message-square
0
link
fedilink
Flexbox Masonry Layout (Explained with Math) – Frontend Masters Blog
frontendmasters.com
external-link
Flexbox has a very specific algorithm for determining how to deal with remaining (or lack of) space in a row. Let's use actual math to understand it then apply it to a masonry layout.
alert-triangle
You must log in or # to comment.

CSS

css

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 5 users / day
  • 40 users / week
  • 73 users / month
  • 260 users / 6 months
  • 231 local subscribers
  • 750 subscribers
  • 193 Posts
  • 138 Comments
  • Modlog
  • mods:
  • Ategon
  • BE: 0.19.13
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org