Show newer

Proportional Resizing with CSS Variables by @shadeed9
.rect {
–size: 186px;
–aspect-ratio: 2.35;
width: var(–size);
height: calc(var(–size) / var(–aspect-ratio));
}
ishadeed.com/snippet/proportio

oh hey, the @toolsday podcast’s latest episode covers new and experimental
and who doesn’t need more @Una and @chrisdhanaraj in their feed, subscribe if you haven’t 🙆‍♀️
spec.fm/podcasts/toolsday/2shq

Try to build your idea with HTML and CSS and JavaScript and see how far you get. Just Google every single thing you don’t know. Start with “how to make a HTML page” Then “how to make text colored in HTML”. Then “how to make a button in HTML”
Great advice in Makebook by @levelsio

I’m excited for CSS to help distribute AVIF images! Here’s some demo code that follows current spec drafts:

  • if in data saver / lite mode
  • match first format supported
  • match first resolution supported
  • make that image the background
    image-set() spec
    Jake Archibald: 📝 AVIF has landed!
    ⬇️ Here’s how to use it today, and how it performs vs other web image formats.
    https://jakearchibald.com/2020/avif-has-landed/

Going to (or throwing?) a conference soon?
Now that we’re settling into all virtual events, it would be good to get the ol’ conferences site updated with lots of choices:
conferences.css-tricks.com/

A new collection of CSS Gradients: Lens Flare! Colorful linear gradients with radial gradients stacked on top to give a “lens flare” effect:
gradientmagic.com/collection/l

Show older
小森林

每个人都有属于自己的一片森林,也许我们从来不曾走过,但它一直在那里,总会在那里。迷失的人迷失了,相逢的人会再相逢。愿这里,成为属于你的小森林。