Daily Shaarli

All links of one day in a single page.

May 22, 2023

Meta reçoit une amende record de 1,2 milliard d’euros pour avoir transféré des données personnelles
rsjs

How to structure a website that is not built with an SPA style?

The Dilemma of Naming Font Size Variables | CSS-Tricks - CSS-Tricks

In order to create tokens (without meaning), the best possible options are:

  • $font-14 (px)
  • $font-100 (abstract 100s value)

So new tokens can be

  • $font-16, $font-36
  • $font-150, $font-125, etc..

Names are then important! --level-3, --spacing, etc...

What's new in CSS and UI: I/O 2023 Edition - Chrome Developers
  • container queries
  • style queries (only chromium)
  • :has (FF catches up)
  • nth-of selector
  • text-wrap: balance (only chromium): definitely a good one
  • initial-letter (only chromium and safari)
  • dynamic viewport units (svh, sve, lvh, lvw, dvh, dvw)
  • wide gamut color spaces
  • color-mix
  • CSS nesting (FF have to implement it)
  • CSS trigonometric functions
  • individual transform properties (hey that was supported by FF since v72...)
  • popover and selectmenu tags are WIP
    and more