Relative Content

Tag Archive for javascriptcssgrid

Automatic elements arrangement on grid layout – CSS, JS

I’ve been thinking for a while about my solution, but probably I’m a lack of experience in it.
I want to make something like auto-placement arrangement on grid layout which will be depended from content size and pre-defined imporatance (like prio number of sth?).
Here is Codepen with that layout: Codepen