CSS border-block Property Reference

The CSS border-block property is a standard property in CSS Logical Properties and Values. Review its formal syntax, computed behavior, and practical declarations.

CSS border-block Property Reference

The CSS border-block property is a standard property in CSS Logical Properties and Values. Review its formal syntax, computed behavior, and practical declarations.

Updated 2026-08-12

border-block overview

The CSS border-block property is a standard property in CSS Logical Properties and Values. Review its formal syntax, computed behavior, and practical declarations.

The property is not inherited by default. Use an explicit global keyword when inheritance is intended.

Syntax and formal definition

border-block formal syntax
FieldValue
Formal syntax<'border-top'>
Initial valueborder-block-width, border-block-style, border-block-color
Applies toallElements
InheritedNo
Percentagesno
Computed valueborder-block-width, border-block-style, border-block-color
Animation typeborder-block-width, border-block-style, border-block-color
Mediavisual
Specification groupCSS Logical Properties and Values
StatusStandard

Practical examples

These declarations demonstrate valid ways to set border-block. The initial and inherit global keywords remain available even when a property-specific value is preferable.

border-block live example
CSS .reset-example { border-block: initial; } .inherit-example { border-block: inherit; } @supports (border-block: initial) { .supported { border-block: initial; } }

Description

The CSS border-block property is a standard property in CSS Logical Properties and Values. Review its formal syntax, computed behavior, and practical declarations.

References

  1. MDN: border-block
  2. MDN: CSS Properties Reference

Similar or alternative tools

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies