css border-left-color property


  Translation results:

border

UK[ˈbɔ:də(r)] US[ˈbɔ:rdə(r)]

n.Border; edge; edging; wrapping Edge

vt.& vi. Bound with, on the edge of...

vt. Along the edge of, surround..., edge...

vi. Approximate, adjacent

Third person singular: borders Plural: borders Present participle: bordering Past tense: bordered Past participle: bordered

left

英[ left] 美[lɛft]

adj. Left, left; leftist

n. Left, left; [military] left; left, radical

adv. To the left; on the left

v. Leave (past tense and past participle of leave)

Plural: lefts

color

英['kʌlə(r)] 美[ˈkʌlɚ]

n.<Beauty> color, color; skin color, complexion, blood color; pigment, dye; essence

v .<Beauty>Coloring; changing the color of; whitewashing, rendering, coloring; blushing

Third person singular: colors Plural: colors Present participle: coloring Past tense: colored past participle : colored

css border-left-color propertysyntax

Function: Set the color of the left border of the element.

Note: Only solid colors can be defined, and the border may appear only when the border style is a value other than none or hidden.

Note: Always declare the border-style attribute before the border-color attribute. The element must get a border before you can change its color.

css border-left-color propertyexample

<html>
<head>
<style type="text/css">
p 
{
border-style: solid;
border-left-color: #ff0000
}
</style>
</head>

<body>
<p>Some text.</p>
</body>

</html>

Run instance »

Click the "Run instance" button to view the online instance

Home

Videos

Q&A