HTML CSS SQL Meta tag Generator ScrollBar design Generator Encode Decode images

CSS Basics

Introduction Syntax Selectors Attribute Selectors Specificity Combinators !important Comments Colors

CSS Need to Know

Box Model Pseudo-class Pseudo-element Inline-block Math Functions Max and Min Opacity Outline Overflow Z-index Float

Most used

Align Backgrounds Borders Text Units Padding Margins Position Tables Display Fonts Lists Height and Width

CSS Reference

CSS Properties reference CSS Pseudo-Classes reference CSS Pseudo-Elements reference CSS Selector reference

CSS border-block-start-width

The border-block-start-width property specifies the width of the top border of a block element's border box.

Here is the syntax for the border-block-start-width property:


selector {
  border-block-start-width: value;
}

The value of the border-block-start-width property can be specified in pixels, ems, rems, or percentages.

Result:
Example

In this example, we have set the border-block-start-width to 5 pixels, and the border style to solid. This creates a solid top border with a width of 5 pixels.

.australia  {
   transform: rotateY(180deg);
}