CSS-ing the Super Silly Hackathon website

Lim Chee Aun
November 29, 2017

CSS-ing the Super Silly Hackathon website

A walk-through of my joruney is building a diagonal-scrolling website, Super Silly Hackathon https://supersillyhackathon.sg/

Presented at Talk.CSS #23 Party Edition (Singapore CSS Meetup) https://singaporecss.github.io/23/

Video: https://engineers.sg/v/2156

Lim Chee Aun

November 29, 2017

Annual Pro sale · Save $30

Have presentations of your own?

Share with private links, password protection, and more control over your work.

Transcript

43 slides
  1. 2nd attempt translateX CSS with awesome Math Check this out:

    https://developer.mozilla.org/en- US/docs/Web/CSS/transform-function/translate
  2. Scroll jank When you scroll a page and there's such

    a delay that the page doesn't feel anchored to your finger, that's called scroll jank. Quoted from https://developers.google.com/ web/updates/2016/06/passive-event-listeners
  3. Passive event listeners • Read this plz: https://github.com/WICG/ EventListenerOptions/blob/gh-pages/ explainer.md

    • Check out the browser support yo: https:// caniuse.com/#feat=passive-event-listener
  4. Animation Worklet A new primitive for creating scroll-linked and other

    high performance procedural animations on the web. Read more from https://github.com/WICG/animation-worklet
  5. Reduce paint areas …often a case of orchestrating your animations

    and transitions to not overlap as much, or finding ways to avoid animating certain parts of the page. Text stolen from https://developers.google.com/web/fundamentals/performance/ rendering/simplify-paint-complexity-and-reduce-paint-areas

More Decks by Lim Chee Aun

Other Decks in Technology