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

Border color

Border color

Like the CSS properties for text color and background color, the border property also falls under the umbrella of the style attribute. You can set the border style, width, and color — the order matters — and those settings will apply to all border sides. For example, the syntax can be written as follows: style="border:solid 4px blue;".

Top contributors

Topics

From Lesson

Share

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