David Leininger

David Leininger

@leininger.tech

Developer/Designer. Loves HTML, CSS, and accessibility. Wears vans. Has tattoos. Drinks bourbon. Flattens pillows. Pizza sommelier. Dad of 5. Husband. Catholic.

73 followers153 following9 posts

David Leininger reposted

TIL crows only *look* black to us — they’re actually very colorful in ways human eyes are unable to perceive. 🤯 Remember that next time people can’t see your “colors”. Some colors just require different eyes.

David Leininger reposted

Back when I was finding my feet in tech everybody was buzzing about building positive change. Somewhere along the way, something changed. Fortunately for us though, tech is not the first industry forced to defend itself against dubious practices. What might we learn if we were to look elsewhere?

robbowen.digitalLooking elsewhere - Robb OwenAgainst the backdrop of mass layoffs, LLMs, site-builders and vibe coding what does it mean to conscientiously build for the web, and where do we go from here?

David Leininger reposted

For years, one of the most befuddling things for me in CSS was how “height: 100%” would sometimes just not work. Every time I tried to use it was a roll of the dice. 😅 Like everything else in CSS, though, it all makes perfect sense when we understand the underlying mechanism. ✨ Let’s explore. 🧵

joshwcomeau.comThe Height Enigma • Josh W. ComeauOne of the most perplexing and befuddling things in CSS for me, for many years, was the behaviour of percentage-based heights. Sometimes, seemingly at random, setting “height: 100%” would have no effe...

David Leininger reposted

David Leininger reposted

🥳 It's an exciting day! 🥳 Thanks to Webflow GSAP is now 100% FREE - including ALL of the bonus plugins like SplitText, MorphSVG, and all the others that were exclusively available to Club GSAP members. We can't wait to see what you make! gsap.com/blog/3-13

David Leininger reposted

David Leininger reposted

David Leininger reposted

I realized I haven't posted this here yet, so: Web devs! I launched an online course about Web Components this summer. You can find out about it here on this site, and oh! there's a big discount sale running for a couple of more days. 🙌 scottjehl.com/learn/webcom...

scottjehl.comWeb Components Demystified online course | Scott Jehl, Web Designer/DeveloperA comprehensive, premium course about building dynamic, fast, resilient apps with standard web components.

David Leininger reposted

In case you missed it, I shared my thoughts on whether masonry should be integrated into CSS Grid or exist as a separate layout module. 🔗 ishadeed.com/article/css-...

ishadeed.comShould masonry be part of CSS grid?An exploration of examples showing masonry as both a part of CSS Grid and as its own display type.
Ahmad Shadeed@ishadeed.com

✍️ New Article: Should masonry be part of CSS grid? I explored whether masonry should be integrated into CSS Grid or introduced as its own display type, with examples comparing both approaches. ishadeed.com/article/css-...

David Leininger reposted

#CSS by @chriscoyier - Container Queries (Size & Styles) - Container Units - :has() - View Transitions - Nesting - Scroll-Driven Animations - Anchor Positioning - Scoping - Cascade Layers - P3 Colors - Color Mixing - Margin Trim - Text Wrapping - Subgrid frontendmasters.com/blog/what-yo...

David Leininger reposted

Workin on some updates to Visbug: - HDR color - popover top-layer - manifest v3 wanna add some view transitions toooooo

David Leininger reposted

#tinyCSStip You can use pure CSS `pow()` to easily switch in between layouts based ton the viewport aspect-ratio. 😎 #CodePen demo codepen.io/thebabydino/... The `grid-template-columns` property gets set only once! We only set an exponent `--exp` for each aspect ratio. 😼

You are up to date.