Tutorials

CSS 'border-inline-start' Property Explained

  • Published
  • 1 min read
  • CSS
  • HTML
  • Web Design
CSS 'border-inline-start' Property
In this article
  1. CSS 'border-inline-start' Property Examples
  2. Browser Support For 'border-inline-start' Property
  3. CSS Syntax of the 'border-inline-start' Property
  4. Usage of the 'border-inline-start' Property
  5. Property Values of the 'border-inline-start' Property

The CSS 'border-inline-start' property is a shorthand for specifying the border's width, style, and color at the inline start side of an element. This logical property adapts the border's appearance based on the writing direction, making it especially useful for creating consistent layouts across languages that use different scripts and directions, such as left-to-right (LTR) and right-to-left (RTL).

CSS 'border-inline-start' Property Examples

See the Pen CSS 'border-inline-start' Property by Webzstore (@webzstore) on CodePen.

The 'border-inline-start' property supports the creation of adaptable, direction-aware designs, ensuring that web content remains visually coherent and accessible across different languages and writing systems.

Browser Support For 'border-inline-start' Property

firefoxsafarichromemicrosoft edgeopera
41.012.169.079.056.0

CSS Syntax of the 'border-inline-start' Property

border-inline-start: width style color | initial | inherit;

Usage of the 'border-inline-start' Property

Use 'border-inline-start' to define or adjust the border on the side of an element where the inline flow of content begins. This feature is invaluable in internationalized web designs, allowing border styles to automatically adjust to match the document's writing mode. This ensures that designs remain fluid and visually coherent, irrespective of the language or script direction.

Property Values of the 'border-inline-start' Property

  • Width: Specifies the thickness of the border. It can be defined using length units (like px, em) or keywords (thin, medium, thick).
  • Style: This determines the border's line style (none, solid, dotted, dashed, double, etc.).
  • Color: This sets the border's color. Color values can include named colors, HEX codes, RGB(a), and HSL(a).
  • Initial: Resets the 'border-inline-start' to its default value.
  • Inherit: Inherits the 'border-inline-start' from the parent element.

Share this article

Written by

Webzstore Team

Webzstore has helped businesses since 2010. Today, we bring websites, digital marketing and enquiry follow-up into practical plans built around the work each business needs.

Related services

Talk about your website or marketing

Book a Free 30-Minute Call

More tutorials

All tutorials

Privacy choices

Choose what this website may load. Your choice is saved on this device for up to 180 days. Privacy Policy

Turning a choice off stops further use of that optional service on this site. It does not take back information already sent, and we cannot delete cookies that other services set in your browser.