Skip to main
Link
A diagram showing two views of the same item. There are 3 shared items—a photo, common name, and scientific name. The positions and styles change, but they represent the same content.

Designing View Transitions

Designing the view transitions on your site can add polish and usability by adding cues about how content is repositioned as a user goes through your application.

See more at web.dev »

The View Transition API increases the polish and usability of your Single Page Application (SPA) by adding cues about how content is repositioned as a user goes through your application.

Humans perceive subtle and continuous changes, like scrolling through a page, or a button’s hover effect, as connected motion. Complete changes, like navigating to a new page, are seen as switching to a new context. Changes that are somewhere in between can be jarring.

See the Pen View transitions on specific elements by @web-dot-dev on CodePen.

Read full article »

Posts about HTML

  1. A woman cradles her head in her hands and covers her eyes rather than looking at a laptop's screen.
    Link post type

    Taking Interest

    Navigating to a new page is a relatively significant change, but interest invokers provide a declarative way to peek into a page without fully committing. They can also provide an additional view on an action.

    see all Link posts
  2. Winging It post type

    Take Command with Invokers

    With special guest Luke Warlow

    Learn how to declaratively add behavior to buttons with the Invoker Commands API. Join James Stuckey Weber and Miriam Suzanne for a live conversation with special guest Luke Warlow, Web Platform Engineer at Igalia.

    see all Winging It posts
  3. Winging It post type

    htmx

    During our conversation, we discuss what htmx is, how it improves user experience, and walk through some examples of common UI patterns using htmx.

    see all Winging It posts