--- title: border-bottom-color slug: Web/CSS/border-bottom-color tags: - CSS - Dokumentacje translation_of: Web/CSS/border-bottom-color ---
{{ CSSRef() }}
border-bottom-color
ustawia kolor dolnego obramowania elementu, poprzez wartość koloru lub słowo kluczowe transparent
.
border-bottom-color: color | transparent | inherit
element { width: 300px; padding: 15px; border-bottom-size: 1px; border-bottom-style: solid; border-bottom-color: #000; }
Specification | Status | Comment |
---|---|---|
{{SpecName('CSS3 Backgrounds', '#border-bottom-color', 'border-bottom-color')}} | {{Spec2('CSS3 Backgrounds')}} | No significant changes, though the transparent keyword, now included in {{cssxref("<color>")}} which has been extended, has been formally removed. |
{{SpecName('CSS2.1', 'box.html#border-color-properties', 'border-bottom-color')}} | {{Spec2('CSS2.1')}} | Initial definition |
{{CompatibilityTable}}
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari (WebKit) |
---|---|---|---|---|---|
Basic support | 1.0 | {{CompatGeckoDesktop("1.0")}}[1] | 4 | 3.5 | 1.0 (85) |
Feature | Android | Firefox Mobile (Gecko) | IE Phone | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|
Basic support | 1.0 | {{CompatGeckoMobile("1.0")}}[1] | 6.5 | 11 | 1.0 |
[1] Gecko-based browsers like Firefox also support the non-standard {{Cssxref("-moz-border-bottom-colors")}} CSS property that sets the bottom border to multiple colors.