Pens from Dave DeSandro https://codepen.io/desandro/ en nospam@codepen.io Copyright 2024 2023-11-17T15:35:27-07:00 Rogie bento box algorithm https://codepen.io/desandro/pen/GRzypMm https://codepen.io/desandro/pen/GRzypMm Dave DeSandro

See the Code - See it Full Page - See Details

https://twitter.com/rogie/status/1725183504227664053 "The basic challenge: Given an aspect ratio, and number of bento "blocks", a min/max size for the blocks, an algo that finds where the blocks go what and size they are. No gaps and randomizable. Here, the aspect ratio is 8:4, with 12 blocks. The min size is 1, the max is 3"

]]>
Rogie bento box algorithm 2023-11-17T15:35:27-07:00
Flickity - settle event, vanilla JS https://codepen.io/desandro/pen/GRBvyrJ https://codepen.io/desandro/pen/GRBvyrJ Dave DeSandro

See the Code - See it Full Page - See Details

#1232

]]>
Flickity - settle event, vanilla JS 2023-01-16T01:34:15-07:00
Flickity - lazyLoad https://codepen.io/desandro/pen/JjByMYm https://codepen.io/desandro/pen/JjByMYm Dave DeSandro

See the Code - See it Full Page - See Details

#1245

]]>
Flickity - lazyLoad 2023-01-16T01:15:26-07:00
Flickity - sync https://codepen.io/desandro/pen/gOXEKPK https://codepen.io/desandro/pen/gOXEKPK Dave DeSandro

See the Code - See it Full Page - See Details

]]>
Flickity - sync 2022-03-07T03:13:16-07:00
imagesLoaded v5 - background selector, vanilla JS https://codepen.io/desandro/pen/KKyRMEv https://codepen.io/desandro/pen/KKyRMEv Dave DeSandro

See the Code - See it Full Page - See Details

]]>
imagesLoaded v5 - background selector, vanilla JS 2022-02-21T17:49:36-07:00
imagesLoaded v5 - background selector https://codepen.io/desandro/pen/YzELWdo https://codepen.io/desandro/pen/YzELWdo Dave DeSandro

See the Code - See it Full Page - See Details

]]>
imagesLoaded v5 - background selector 2022-02-21T17:47:55-07:00
imagesLoaded v5 - background, vanilla JS https://codepen.io/desandro/pen/oNodxYW https://codepen.io/desandro/pen/oNodxYW Dave DeSandro

See the Code - See it Full Page - See Details

]]>
imagesLoaded v5 - background, vanilla JS 2022-02-21T16:33:05-07:00
imagesLoaded v5 - background https://codepen.io/desandro/pen/QWOrNNY https://codepen.io/desandro/pen/QWOrNNY Dave DeSandro

See the Code - See it Full Page - See Details

]]>
imagesLoaded v5 - background 2022-02-21T16:28:44-07:00
imagesLoaded v5, progress with vanilla JS https://codepen.io/desandro/pen/XWzqXrP https://codepen.io/desandro/pen/XWzqXrP Dave DeSandro

See the Code - See it Full Page - See Details

]]>
imagesLoaded v5, progress with vanilla JS 2022-02-22T00:04:30-07:00
imagesLoaded v5, progress with jQuery https://codepen.io/desandro/pen/podVjYW https://codepen.io/desandro/pen/podVjYW Dave DeSandro

See the Code - See it Full Page - See Details

]]>
imagesLoaded v5, progress with jQuery 2022-02-22T00:04:36-07:00