Name
border-top-color
Synopsis
This property sets the color for the
visible portions of the top border of an element. Only a solid color
can be defined, and the border’s style must be
something other than none
or
hidden
for any visible border to appear.
Values:
<color> | transparent
|
inherit
Initial value:
the value of color
for the element
Applies to:
all elements
Inherited:
no
Computed value:
if no value is specified, use the computed value of the property
color
for the same element; otherwise, as
specified
Get Cascading Style Sheets: The Definitive Guide, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.