Show newer

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

Use to customize HTML list bullets (and more!) in the upcoming Chromium 86 release (Canary or Beta today)
🆕 individual && global selectors
li::marker {
color: var(–neon-pink);
}
li:first-child::marker {
font-size: 1ex;
}
Learn more 👉
web.dev/css-marker-pseudo-elem

A Complete Walkthrough of GraphQL APIs with React and @fauna
(❥s for the sponsorship and useful info, Fauna gang!)
css-tricks.com/a-complete-walk

Re 😮 And there’s also a new today!
On one of my favorite topics: CSS Filters 🎉
Filter effects are very well supported and most can be polyfilled for IE6+
🤓 Learn more about them in Episode 23:
pod.link/thecsspodcast/episode

CSS Only Room Escape Game
This is an escape game only made in CSS.
I created all of the assets, using MS paint to draw the image, and Paint . net to make the background color of the PNG files into transparent.

codepen.io/takaneichinose/pen/

Show older
小森林

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