Code 👉 codepen.io/kevinpowell/...
Code 👉 codepen.io/kevinpowell/...
The basic demo: https://codepen.io/kevinpowell/pen/ZYzbNzN
Used the bounce preset from this linear() generator: https://linear-easing-generator.netlify.app
The basic demo: https://codepen.io/kevinpowell/pen/ZYzbNzN
Used the bounce preset from this linear() generator: https://linear-easing-generator.netlify.app
Video is too big for bksy though...
video explain: youtu.be/h71tY66w7f8
first example: codepen.io/kevinpowell/...
second example: codepen.io/kevinpowell/...
Video is too big for bksy though...
video explain: youtu.be/h71tY66w7f8
first example: codepen.io/kevinpowell/...
second example: codepen.io/kevinpowell/...
if() basically let's us do the exact same thing with as many colros as wel want though 😊
Code 👉 codepen.io/kevinpowell/...
if() basically let's us do the exact same thing with as many colros as wel want though 😊
Code 👉 codepen.io/kevinpowell/...
The codepen is pretty heavily commented to try and explain how it works, and I will be making a video eventually.
codepen.io/kevinpowell/...
The codepen is pretty heavily commented to try and explain how it works, and I will be making a video eventually.
codepen.io/kevinpowell/...
Here's a quick example: codepen.io/kevinpowell/...
Here's a quick example: codepen.io/kevinpowell/...
www.youtube.com/watch?v=YZZb...
www.youtube.com/watch?v=YZZb...
Same behaviour in FF, but not Safari.
Happy to file a bug report, but strange it's in both FF and Chromium.
codepen.io/kevinpowell/...
Same behaviour in FF, but not Safari.
Happy to file a bug report, but strange it's in both FF and Chromium.
codepen.io/kevinpowell/...
by Kevin Powell
@kevinpowell.co @kevinpowell@front-end.social
#css #CenteringThings #GridAutoFit #webdev
youtu.be/HvhSEsFEsAg?...
by Kevin Powell
@kevinpowell.co @kevinpowell@front-end.social
#css #CenteringThings #GridAutoFit #webdev
youtu.be/HvhSEsFEsAg?...
https://www.youtube.com/watch?v=4IBXIFe2CKA&ref=frontenddogma.com
#videos #css #layout #containerqueries
https://www.youtube.com/watch?v=4IBXIFe2CKA&ref=frontenddogma.com
#videos #css #layout #containerqueries
If you don’t subscribe, please do as he is the best and I learned a lot of CSS tricks and tips over the years!
Subscribe here 👇
youtube.com/@kevinpowell
If you don’t subscribe, please do as he is the best and I learned a lot of CSS tricks and tips over the years!
Subscribe here 👇
youtube.com/@kevinpowell
I think centering the leftover ones is a lot easier... skipping awkward divisions, unless I'm missing something, would require pretty unique numbers for every child count.
But same idea, container queries + spanning columns - codepen.io/kevinpowell/...
I think centering the leftover ones is a lot easier... skipping awkward divisions, unless I'm missing something, would require pretty unique numbers for every child count.
But same idea, container queries + spanning columns - codepen.io/kevinpowell/...
Am I doing something wrong here? I know attr() has security restrictions around url(), but I tried image-set() with the same result.
codepen.io/kevinpowell/...
Am I doing something wrong here? I know attr() has security restrictions around url(), but I tried image-set() with the same result.
codepen.io/kevinpowell/...
Easily adapt the size of the "border" and the size of the "cut" with custom props.
codepen.io/kevinpowell/...
Easily adapt the size of the "border" and the size of the "cut" with custom props.
codepen.io/kevinpowell/...
✅ LukyVJ's original codepen: codepen.io/LukyVj/pen/P...
✅ My finished version: codepen.io/kevinpowell/...
✅ LukyVJ's original codepen: codepen.io/LukyVj/pen/P...
✅ My finished version: codepen.io/kevinpowell/...