Agustin Capeletto

@lowpoly.gg

CSS superfan. 3D DOM wrangler. Argentino 🇦🇷 Open source @ https://layoutit.com · https://polycss.com · https://lowpoly.gg ✨

One of the most challenging parts of the Mario model is the lighting and shine. To support this in CSS, I bake a 4×4 texture for every poly+frame, stretch it with background-size, and animate it with background-position. A million texel fields packed in a single spritesheet, with no math at runtime.

An now, for my next trick, we will answer the CSS questions everyone had for years: how to center horizontally. Like, really, 100 different ways. Some are quite hacky, but, still, fun to explore just to test the limits of CSS, hehe Tool made by @css-only.dev css-generators.com/center/

How to center an element horizontally and vertically

100 different ways to center a single element horizontally and vertically inside a container.

css-generators.com

Finally 😁 Throwing Confetti with CSS Random | Throwing some confetti while exploring the CSS random() function through its specification and its current implementations, finding both the beauty and the pitfalls along the way. | schalkneethling.com/posts/throwi...

Throwing Confetti with CSS Random

Throwing some confetti while exploring the CSS random() function through its specification and its current implementations, finding both the beauty and the pitfalls along the way.

schalkneethling.com

We've been experimenting with CSS´s upcoming Random() function to see what it can do. In the mean time we found a few browser crashes and a way to implement random-item() before it actually lands. Best viewed in Polypane 29+ (For now!) polypane.app/blog/experim...

Experimenting with random() in CSS | Polypane

CSS is getting a random() function that lets you set properties with a random value, letting you make interesting and creative new designs. It's available in…

polypane.app