• Hi,

    Love your plugin! Very easy to use. Is there a way to add a border around the popup? I was able to change the background color, but not sure how to add a border. Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Le Van Toan

    (@levantoan)

    you mean?

    #powerTip {
        border: 1px solid red;
    }
    #powerTip.n:after {
        border-top: 10px solid red;
        border-top: 10px solid red;
        bottom: -10px;
    }
    #powerTip.n:after {
        border-right: 7px solid transparent;
        border-left: 7px solid transparent;
        left: 50%;
        margin-left: -7px;
    }
    #powerTip:after {
        z-index: 2;
        content: "";
        position: absolute;
    }
    #powerTip:before{
        z-index: 3;
    }
    Thread Starter Derek

    (@kered316)

    Yes! That’s it. Thanks!

    Thread Starter Derek

    (@kered316)

    One more thing since I am asking, any way to add a drop shadow?

    Plugin Author Le Van Toan

    (@levantoan)

    Your mean?

    #powerTip {
        box-shadow: 3px 3px 10px rgba(0,0,0,0.5);
    }
    Thread Starter Derek

    (@kered316)

    Awesome, that works! Thanks!

    But, I notice the little arrow part of the pop up, the part that points to the hot spot, does not have the border on it. Is there a way to, so it doesn’t looks like a space in that border area in the pop up?

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Border for popup?’ is closed to new replies.