<links>WebDev</links> #1

Javascript / ES6:

CSS:

  • There’s a big change coming up for how we write colors in CSS. Tab Atkins recently changed the color functions syntax in the CSS specification. 
    So in future, we will write rgb(0 255 0 / 50%) instead of rgba(0, 255, 0, 50%).
  • For long articles, a scroll indicator can be very useful to indicate the reading progress. Most people use some sort of JavaScript code to do this (which is calculation-expensive); some people, however, find clever tricks to do it with CSS. The CSS-only scroll indicator by Mike Riethmuller is an awesome show-off of using gradients, viewport units and a pseudo-element.

Tools: