Home/web.dev
Source

web.dev

904 articles from web.dev.

Engineering — Defragment cross-domain logins

Defragment cross-domain logins

Learn how to use architectural standards and solutions (such as metadata, cross-origin iframes, identity federation, and subdomain consolidation) to resolve cross-domain identity fragmentation and deliver a seamless user journey.

Wweb.dev·Engineering
Security — Cross-Origin Resource Sharing (CORS)

Cross-Origin Resource Sharing (CORS)

The browser's same-origin policy blocks reading a resource from a different origin for security purposes. Enabling CORS lets the server tell the browser it can use an additional origin.

Wweb.dev·Security
Security — Content security policy

Content security policy

Content Security Policy can significantly reduce the risk and impact of cross-site scripting attacks in modern browsers.

Wweb.dev·Security
Frontend — CSS animated grid layouts

CSS animated grid layouts

In CSS Grid, the `grid-template-columns` and `grid-template-rows` properties allow you to define line names and track sizing of grid columns and rows, respectively. Supporting interpolation for these properties allows grid layouts to smoothly transition between states, instead of snapping at the halfway point of an animation or transition.

Wweb.dev·Frontend
Frontend — CSS subgrid

CSS subgrid

Subgrid enables grid shareability, allowing nested grids to align to ancestors and siblings.

Wweb.dev·Frontend
Engineering — Custom metrics

Custom metrics

Custom metrics let you measure and optimize aspects of your site's experience that are unique to your site.

Wweb.dev·Engineering
Performance — Debounce your input handlers

Debounce your input handlers

Input handlers are a potential cause of performance problems in your apps, as they can block frames from completing, and can cause additional and unnecessary layout work.

Wweb.dev·Performance
Frontend — Defer non-critical CSS

Defer non-critical CSS

Learn how to defer non-critical CSS with the goal of optimizing the Critical Rendering Path, and improving First Contentful Paint (FCP).

Wweb.dev·Frontend
Engineering — Designcember Calculator

Designcember Calculator

A skeuomorphic attempt at recreating a solar calculator on the web that makes use of the ambient light sensor and the window controls overlay feature.

Wweb.dev·Engineering
Engineering — Web Developer Satisfaction

Web Developer Satisfaction

Web Developer Satisfaction is a Google project to gather information about the needs of web developers. The goal is a more reliable, predictable and interoperable web platform, enabling developers to invest in and trust it, and adopt and use new features to grow the platform and their business.

Wweb.dev·Engineering
Engineering — Pixel-perfect rendering with devicePixelContentBox

Pixel-perfect rendering with devicePixelContentBox

Since Chrome 84, ResizeObserver supports a new box measurement called device-pixel-content-box, that measures the element's dimension in physical pixels. This is crucial for rendering pixel-perfect graphics, especially in the context of high-density screens.

Wweb.dev·Engineering
Design & UX — Improve page dismissal in synchronous XMLHttpRequest

Improve page dismissal in synchronous XMLHttpRequest

It's common for a page or app to have unsubmitted analytics or other data when a user closes it. Sites use a synchronous call to XMLHttpRequest(), which hurts the user experience and ignores better ways to save data. Chrome 80 implements a recent spec change to address this.

Wweb.dev·Design & UX
Performance — Discover performance opportunities with Lighthouse

Discover performance opportunities with Lighthouse

Lighthouse is a tool that helps you measure and find ways to improve a page's performance. Lighthouse gives you a report on how the page did. The report provides a score for each metric and a list of opportunities which, if you implement them, should make the page load faster.

Wweb.dev·Performance