I need a masonry net like this:
Is it possible to achieve this using only flexbox? Or in any other way? Do not want to use the Freemasonry library or another library or framework.
I believe the CSS grid will be your friend here.
CSS grid layout brings to the Internet a two-dimensional layout tool with the ability to lay out elements in rows and columns. CSS Grid can be used to achieve many different layouts. It stands out when dividing the page into main regions or determining the relationship by size, position and level between parts of a control created from HTML primitives., . , , , .
CSS grid layout brings to the Internet a two-dimensional layout tool with the ability to lay out elements in rows and columns. CSS Grid can be used to achieve many different layouts. It stands out when dividing the page into main regions or determining the relationship by size, position and level between parts of a control created from HTML primitives.
, . , , , .
https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Grid_Layout
, CSS-.
http://cssgridgarden.com/
Source: https://habr.com/ru/post/1663161/More articles:When reassigning a hyper key / cap is blocked by F18 using Hammerspoon, can it be used with modifiers - hammerspoonCSS Does the background image stretch horizontally and repeat vertically? - cssSearch for date difference - rHibernate runs slowly on startup using schema authentication - spring-bootКак я могу реализовать алгоритм Витерби в С# для разделения соединенных слов? - stringHow to reduce npm installation time in multiple TeamCity builds? - node.jsHow to efficiently extract literary words from a sequential line? - pythonSprint-data-Cassandra Map mapping to a custom type ends using "not a fixed object type", - spring-bootError Ubuntu dotnet user secrets - ubuntuHow to map an array of objects in React - objectAll Articles