⬀Intersections
⬀ of 
New Web APIs
This talk is a
  love letter
    to complexity.
⚽ 🚨 πŸš€

HTML

CSS

JavaScript

CSS Grid

Web Animations

Web Components

CSS Custom Properties

This talk is a love letter to complexity.

When I was a child I fascinated by rube goldberg machines.

They are these quirky machines with many interlocking parts of very different Technology

I used to spend hours with marbles, pipes, string, playing cards and dolls and all the other toys in my toybox to build these amazing contraptions.

Front end web development is complex.

Between CSS, HTML and JavaScript there are many different parts which behave very differently.

The features in the web platform are growing day-by-day, it feels I have been learning the web platform my entire life and I still discovering new toys or get new toys added to my toybox.

This talk I am going to introduce 4 new-ish toys we have to play with and explore how they work together:

Each one is a deep complex topic it's own right so I can't go into depth about them.

Learning to use them effectively will take some research, practise and time.

The goal of this talk is to show how they can work together.

When they are used in conjunction it feels like super powers for front end web development.

Hopefully will change the way we think about front end web deveopment.

CSS Grid
You don’t need a framework to use CSS Grid.
CSS Grid is a framework.
— Rachel Andrew (@rachelandrew)

This page is intentionally left blank

Flexbox works from the content out
   Grid works from the layout in.
— Rachel Andrew (@rachelandrew)
It was a layout that I figured would take maybe half a day of wrangling CSS.

I used CSS grid and I was done in five minutes.
  That’s not an exaggeration. It was literally five minutes.
— Jeremy Keith (@adactio)
WebAnimations
⚽

<web-components>

homers terrible car from the simpsons
Shadow DOM
<div> <div> <div> <div>

Scoped css

JS Callbacks

Lego Repair by Jan Vormann

Lego Street Repairs by Jan Vormann

CSSCustom
Properties
<web-components &
  style="--custom-properties: πŸ¦„;" >
CSS Grid β™₯ <web-
components>

<div class="head">
    <header>
        <h1>My thing</h1>
    </header>
</div>
<div class="left-column">
    <div class="widget">
        <div class="widget-description">
            <p>lorem ipsum</p>
        </div>
        <button class="widget-button">lol</button>
    </div>
</div>
<div class="right-column">
    <main>
        <p>Hello world</p>
    </main>
</div>
            

<div class="head">
    <header>
        <h1>My thing</h1>
    </header>
</div>
<div class="left-column">
    <div class="widget">
        <div class="widget-description">
            <p>lorem ipsum</p>
        </div>
        <button class="widget-button">lol</button>
    </div>
</div>
<div class="right-column">
    <main>
        <p>Hello world</p>
    </main>
</div>
            

<div class="head">
    <header>
        <h1>My thing</h1>
    </header>
</div>
<div class="left-column">
    <div class="widget">
        <div class="widget-description">
            <p>lorem ipsum</p>
        </div>
        <button class="widget-button">lol</button>
    </div>
</div>
<div class="right-column">
    <main>
        <p>Hello world</p>
    </main>
</div>
            
<Web Components> & CSS Grid bring
Clarity to Complexity
CSSGrid
Γ—
Custom
Properties
Custom
Properties
+
WebAnimations
Thank You
for Listening πŸ’–