<?xml version="1.0" encoding="utf-8"?>

Applying border width in CSS

Applying border width in CSS

The border-left, border-right, border-top, and border-bottom properties are shorthand properties for border-width and border-style when you need to specify values only for one side. The CSS is quite flexible and eases the pain by providing different shorthand properties like that from the example.

Improve your UX & Product skills with interactive courses that actually work