57 of 313 menu

The border-right-color property

The border-right-color property specifies a color of a right border. The value of the property is any color units. Default value: same color as the block text has.

Syntax

selector { border-right-color: color; }

Example

Let's set the right border to red:

<div id="elem"></div> #elem { border-right-color: red; border-right-width: 1px; border-right-style: solid; background: #f9f9f9; width: 300px; height: 100px; }

:

See also

English
AfrikaansAzərbaycanБългарскиবাংলাБеларускаяČeštinaDanskDeutschΕλληνικάEspañolEestiSuomiFrançaisहिन्दीMagyarՀայերենIndonesiaItaliano日本語ქართულიҚазақ한국어КыргызчаLietuviųLatviešuМакедонскиMelayuမြန်မာNederlandsNorskPolskiPortuguêsRomânăРусскийසිංහලSlovenčinaSlovenščinaShqipСрпскиSrpskiSvenskaKiswahiliТоҷикӣไทยTürkmenTürkçeЎзбекOʻzbekTiếng Việt
We use cookies for website operation, analytics, and personalization. Data processing is carried out in accordance with the Privacy Policy.
accept all customize decline