For AI agents: the complete documentation index is available at /next/llms.txt, the full documentation bundle is available at /next/llms-full.txt, and this page is available as Markdown at /next/api/css/properties/border-right.md.
Lynx
  • English
  • border-right

    Introduction

    The border-right shorthand CSS property sets all the properties of an element's right border.

    Examples

    Syntax

    .br-0 {
      border-right: thick double red;
    }
    .br-1 {
      border-right: thin dotted blue;
    }
    
    .br-2 {
      border-right: 10px dashed orange;
    }

    Values

    This property is a shorthand for the following CSS properties:

    Formal definition

    Initial valuesolid
    Applies toall elements
    Inheritedno
    Animatableno

    Formal syntax

    <line-width> || <line-style> || <color>
    where
    <line-width> = <length> | thin | medium | thick
    <line-style> = none | hidden | dotted | dashed | solid | double | groove | ridge | inset | outset

    Difference from Web

    Global values are not supported. (inherit, initial, revert, unset, etc)

    Default style value is solid.

    Compatibility

    LCD tables only load in the browser

    Except as otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International License, and code samples are licensed under the Apache License 2.0.