css.properties

box-snap

The box-snap property specifies whether an element snaps to layout grid lines.

Draft โ€” This property is defined in a W3C Draft and may be subject to change

Formal Syntax

none | block-start | block-end | center | baseline | last-baseline

See specification

JavaScript Access

// Access via element.style
element.style.boxSnap = 'none';

Browser Support

This property is defined in a W3C Draft and may be subject to change. Browser support data is not yet available.

Related Properties