4

I want to change the border-color of popover arrow.When I apply the border color,the arrow itself is filling up with the color.

I want to give only the color to the border of the arrow as for the popover body.

<p>Click on button to see Popover</p>

<a href="#" id="example" class="btn btn-primary" rel="popover"
   data-content="This is the body of Popover"
   data-original-title="Creativity Tuts">pop
</a>

$(function () {
    $('#example').popover();
});

Demo

Raviteja
  • 3,399
  • 23
  • 42
  • 69
  • `I want to give only the color to the border of the arrow as in the popover body.` .. I think http://stackoverflow.com/a/35909593/4763793 is the correct answer – Rino Raj Mar 10 '16 at 07:10

2 Answers2

13

you change the.popover.right .arrow. So changing the .arrow:after will change the "fill" color for the arrow, as you see I set to gray.

.popover.right .arrow {
  border-right-color: aqua;
}

Fiddle

Rino Raj
  • 6,264
  • 2
  • 27
  • 42
Dejan.S
  • 18,571
  • 22
  • 69
  • 112
4
.popover.right .arrow:after {
  border-right-color: white;
}
.popover.right .arrow {
    border-right-color: red;
}

updated fiddle

tao
  • 82,996
  • 16
  • 114
  • 150