Border Top Color

Set the top border color for an element.

Widely available

This feature is well established and works across many devices and browser versions.

Chrome
Edge
Firefox
Safari

btc-red-1
border-top-color: #fbdfe1;
btc-red-2
border-top-color: #f8c4c8;
btc-red-3
border-top-color: #f4a8ae;
btc-red-4
border-top-color: #f18c94;
btc-red-5
border-top-color: #ed707a;
btc-red-6
border-top-color: #ea5560;
btc-red
border-top-color: #e63946;
btc-red-7
border-top-color: #c6313c;
btc-red-8
border-top-color: #a62932;
btc-red-9
border-top-color: #852129;
btc-red-10
border-top-color: #65191f;
btc-red-11
border-top-color: #451115;
btc-red-12
border-top-color: #25090b;
btc-orange-1
border-top-color: #ffe7df;
btc-orange-2
border-top-color: #ffd3c2;
btc-orange-3
border-top-color: #ffbea6;
btc-orange-4
border-top-color: #ffa98a;
btc-orange-5
border-top-color: #ff946e;
btc-orange-6
border-top-color: #ff8051;
btc-orange
border-top-color: #ff6b35;
btc-orange-7
border-top-color: #db5c2e;
btc-orange-8
border-top-color: #b84d26;
btc-orange-9
border-top-color: #943e1f;
btc-orange-10
border-top-color: #702f17;
btc-orange-11
border-top-color: #4d2010;
btc-orange-12
border-top-color: #291108;
btc-yellow-1
border-top-color: #fff4db;
btc-yellow-2
border-top-color: #ffeabb;
btc-yellow-3
border-top-color: #ffe09b;
btc-yellow-4
border-top-color: #ffd67b;
btc-yellow-5
border-top-color: #ffcc5c;
btc-yellow-6
border-top-color: #ffc23c;
btc-yellow
border-top-color: #ffb81c;
btc-yellow-7
border-top-color: #db9e18;
btc-yellow-8
border-top-color: #b88414;
btc-yellow-9
border-top-color: #946b10;
btc-yellow-10
border-top-color: #70510c;
btc-yellow-11
border-top-color: #4d3708;
btc-yellow-12
border-top-color: #291d04;
btc-lime-1
border-top-color: #ebf7da;
btc-lime-2
border-top-color: #daf0b9;
btc-lime-3
border-top-color: #c9e998;
btc-lime-4
border-top-color: #b8e178;
btc-lime-5
border-top-color: #a6da57;
btc-lime-6
border-top-color: #95d337;
btc-lime
border-top-color: #84cc16;
btc-lime-7
border-top-color: #72af13;
btc-lime-8
border-top-color: #5f9310;
btc-lime-9
border-top-color: #4d760d;
btc-lime-10
border-top-color: #3a5a0a;
btc-lime-11
border-top-color: #283d07;
btc-lime-12
border-top-color: #152104;
btc-mint-1
border-top-color: #d9f4eb;
btc-mint-2
border-top-color: #b7ead9;
btc-mint-3
border-top-color: #96e0c8;
btc-mint-4
border-top-color: #74d6b6;
btc-mint-5
border-top-color: #53cda4;
btc-mint-6
border-top-color: #31c393;
btc-mint
border-top-color: #10b981;
btc-mint-7
border-top-color: #0e9f6f;
btc-mint-8
border-top-color: #0c855d;
btc-mint-9
border-top-color: #096b4b;
btc-mint-10
border-top-color: #075139;
btc-mint-11
border-top-color: #053827;
btc-mint-12
border-top-color: #031e15;
btc-green-1
border-top-color: #d7f8f0;
btc-green-2
border-top-color: #b4f3e3;
btc-green-3
border-top-color: #91edd5;
btc-green-4
border-top-color: #6fe7c8;
btc-green-5
border-top-color: #4ce1bb;
btc-green-6
border-top-color: #29dcad;
btc-green
border-top-color: #06d6a0;
btc-green-7
border-top-color: #05b88a;
btc-green-8
border-top-color: #049a73;
btc-green-9
border-top-color: #037c5d;
btc-green-10
border-top-color: #035e46;
btc-green-11
border-top-color: #024030;
btc-green-12
border-top-color: #01221a;
btc-cyan-1
border-top-color: #d7f3f8;
btc-cyan-2
border-top-color: #b4e9f2;
btc-cyan-3
border-top-color: #91dfec;
btc-cyan-4
border-top-color: #6fd5e6;
btc-cyan-5
border-top-color: #4ccae0;
btc-cyan-6
border-top-color: #29c0da;
btc-cyan
border-top-color: #06b6d4;
btc-cyan-7
border-top-color: #059db6;
btc-cyan-8
border-top-color: #048399;
btc-cyan-9
border-top-color: #036a7b;
btc-cyan-10
border-top-color: #03505d;
btc-cyan-11
border-top-color: #023740;
btc-cyan-12
border-top-color: #011d22;
btc-sky-1
border-top-color: #dff4fe;
btc-sky-2
border-top-color: #c3ebfd;
btc-sky-3
border-top-color: #a7e2fc;
btc-sky-4
border-top-color: #8cd9fb;
btc-sky-5
border-top-color: #70cffa;
btc-sky-6
border-top-color: #54c6f9;
btc-sky
border-top-color: #38bdf8;
btc-sky-7
border-top-color: #30a3d5;
btc-sky-8
border-top-color: #2888b3;
btc-sky-9
border-top-color: #206e90;
btc-sky-10
border-top-color: #19536d;
btc-sky-11
border-top-color: #11394a;
btc-sky-12
border-top-color: #091e28;
btc-blue-1
border-top-color: #dce6fc;
btc-blue-2
border-top-color: #bed0f9;
btc-blue-3
border-top-color: #9fbaf6;
btc-blue-4
border-top-color: #81a5f3;
btc-blue-5
border-top-color: #628ff1;
btc-blue-6
border-top-color: #4479ee;
btc-blue
border-top-color: #2563eb;
btc-blue-7
border-top-color: #2055ca;
btc-blue-8
border-top-color: #1b47a9;
btc-blue-9
border-top-color: #153988;
btc-blue-10
border-top-color: #102c67;
btc-blue-11
border-top-color: #0b1e47;
btc-blue-12
border-top-color: #061026;
btc-indigo-1
border-top-color: #e6e7fd;
btc-indigo-2
border-top-color: #d0d1fb;
btc-indigo-3
border-top-color: #babcf9;
btc-indigo-4
border-top-color: #a5a6f7;
btc-indigo-5
border-top-color: #8f91f5;
btc-indigo-6
border-top-color: #797bf3;
btc-indigo
border-top-color: #6366f1;
btc-indigo-7
border-top-color: #5558cf;
btc-indigo-8
border-top-color: #4749ae;
btc-indigo-9
border-top-color: #393b8c;
btc-indigo-10
border-top-color: #2c2d6a;
btc-indigo-11
border-top-color: #1e1f48;
btc-indigo-12
border-top-color: #101027;
btc-violet-1
border-top-color: #ece5fe;
btc-violet-2
border-top-color: #dccefc;
btc-violet-3
border-top-color: #ccb7fb;
btc-violet-4
border-top-color: #bca0fa;
btc-violet-5
border-top-color: #ab8af9;
btc-violet-6
border-top-color: #9b73f7;
btc-violet
border-top-color: #8b5cf6;
btc-violet-7
border-top-color: #784fd4;
btc-violet-8
border-top-color: #6442b1;
btc-violet-9
border-top-color: #51358f;
btc-violet-10
border-top-color: #3d286c;
btc-violet-11
border-top-color: #2a1c4a;
btc-violet-12
border-top-color: #160f27;
btc-lavender-1
border-top-color: #f1ecfe;
btc-lavender-2
border-top-color: #e5dcfe;
btc-lavender-3
border-top-color: #d8ccfd;
btc-lavender-4
border-top-color: #ccbcfc;
btc-lavender-5
border-top-color: #c0abfb;
btc-lavender-6
border-top-color: #b39bfb;
btc-lavender
border-top-color: #a78bfa;
btc-lavender-7
border-top-color: #9078d7;
btc-lavender-8
border-top-color: #7864b4;
btc-lavender-9
border-top-color: #615191;
btc-lavender-10
border-top-color: #493d6e;
btc-lavender-11
border-top-color: #322a4b;
btc-lavender-12
border-top-color: #1b1628;
btc-magenta-1
border-top-color: #f9e1fc;
btc-magenta-2
border-top-color: #f4c8fa;
btc-magenta-3
border-top-color: #eeaef8;
btc-magenta-4
border-top-color: #e994f6;
btc-magenta-5
border-top-color: #e47af3;
btc-magenta-6
border-top-color: #de60f1;
btc-magenta
border-top-color: #d946ef;
btc-magenta-7
border-top-color: #bb3cce;
btc-magenta-8
border-top-color: #9c32ac;
btc-magenta-9
border-top-color: #7e298b;
btc-magenta-10
border-top-color: #5f1f69;
btc-magenta-11
border-top-color: #411548;
btc-magenta-12
border-top-color: #230b26;
btc-pink-1
border-top-color: #fce2ef;
btc-pink-2
border-top-color: #f9c8e0;
btc-pink-3
border-top-color: #f7aed2;
btc-pink-4
border-top-color: #f495c4;
btc-pink-5
border-top-color: #f17bb6;
btc-pink-6
border-top-color: #ef62a7;
btc-pink
border-top-color: #ec4899;
btc-pink-7
border-top-color: #cb3e84;
btc-pink-8
border-top-color: #aa346e;
btc-pink-9
border-top-color: #892a59;
btc-pink-10
border-top-color: #682043;
btc-pink-11
border-top-color: #47162e;
btc-pink-12
border-top-color: #260c18;
btc-coral-1
border-top-color: #ffe8ed;
btc-coral-2
border-top-color: #ffd4de;
btc-coral-3
border-top-color: #ffc0cf;
btc-coral-4
border-top-color: #ffabbf;
btc-coral-5
border-top-color: #ff97b0;
btc-coral-6
border-top-color: #ff83a0;
btc-coral
border-top-color: #ff6f91;
btc-coral-7
border-top-color: #db5f7d;
btc-coral-8
border-top-color: #b85068;
btc-coral-9
border-top-color: #944054;
btc-coral-10
border-top-color: #703140;
btc-coral-11
border-top-color: #4d212c;
btc-coral-12
border-top-color: #291217;
btc-zinc-1
border-top-color: #e3e3e5;
btc-zinc-2
border-top-color: #cbcbce;
btc-zinc-3
border-top-color: #b3b3b7;
btc-zinc-4
border-top-color: #9b9ba0;
btc-zinc-5
border-top-color: #828289;
btc-zinc-6
border-top-color: #6a6a72;
btc-zinc
border-top-color: #52525b;
btc-zinc-7
border-top-color: #47474e;
btc-zinc-8
border-top-color: #3b3b42;
btc-zinc-9
border-top-color: #303035;
btc-zinc-10
border-top-color: #242428;
btc-zinc-11
border-top-color: #19191b;
btc-zinc-12
border-top-color: #0d0d0f;
btc-gray-1
border-top-color: #e7e8eb;
btc-gray-2
border-top-color: #d3d5d9;
btc-gray-3
border-top-color: #bec1c7;
btc-gray-4
border-top-color: #a9adb5;
btc-gray-5
border-top-color: #9499a4;
btc-gray-6
border-top-color: #808692;
btc-gray
border-top-color: #6b7280;
btc-gray-7
border-top-color: #5c626e;
btc-gray-8
border-top-color: #4d525c;
btc-gray-9
border-top-color: #3e424a;
btc-gray-10
border-top-color: #2f3238;
btc-gray-11
border-top-color: #202226;
btc-gray-12
border-top-color: #111214;
btc-slate-1
border-top-color: #e6e9ec;
btc-slate-2
border-top-color: #d1d5dc;
btc-slate-3
border-top-color: #bbc2cc;
btc-slate-4
border-top-color: #a5aebc;
btc-slate-5
border-top-color: #8f9bab;
btc-slate-6
border-top-color: #7a879b;
btc-slate
border-top-color: #64748b;
btc-slate-7
border-top-color: #566478;
btc-slate-8
border-top-color: #485464;
btc-slate-9
border-top-color: #3a4351;
btc-slate-10
border-top-color: #2c333d;
btc-slate-11
border-top-color: #1e232a;
btc-slate-12
border-top-color: #101316;
btc-silver-1
border-top-color: #eff0f2;
btc-silver-2
border-top-color: #e1e3e7;
btc-silver-3
border-top-color: #d3d7dc;
btc-silver-4
border-top-color: #c6cad1;
btc-silver-5
border-top-color: #b8bdc5;
btc-silver-6
border-top-color: #aab0ba;
btc-silver
border-top-color: #9ca3af;
btc-silver-7
border-top-color: #868c97;
btc-silver-8
border-top-color: #70757e;
btc-silver-9
border-top-color: #5a5f66;
btc-silver-10
border-top-color: #45484d;
btc-silver-11
border-top-color: #2f3135;
btc-silver-12
border-top-color: #191a1c;
btc-black
border-top-color: #000000;
btc-current
border-top-color: currentColor;
btc-transparent
border-top-color: transparent;
btc-white
border-top-color: #ffffff;

Responsiveness

Use breakpoint prefixes to target different screen sizes. Styles apply from the breakpoint & up.

Target viewport sizes with breakpoint prefixes.

@sm:btc-(value)
Small640px
@md:btc-(value)
Medium768px
@lg:btc-(value)
Large1024px
@xxl:btc-(value)
Extra Large1536px

Hover State

Apply styles conditionally on hover using the h: prefix.

Add the h: prefix to apply styles only when the user hovers over the element.

Syntax:h:btc-(value)

Opacity Modifiers

Adjust color transparency by appending an opacity suffix.

Append /(opacity) to any color utility to control its transparency level.

Syntax:btc-(color)/(opacity)