How to create a button in the corner of a panel in bootstrap?

css, twitter-bootstrap

Solution

On the bootstrap site, where your screenshot is from, there is an element with a class `zero-clipboard`, with a child element with a class `btn-clipboard`

Those elements have the following styles, I've only copied what's relevant.

.zero-clipboard {
    position: relative;
}
.btn-clipboard {
    position: absolute;
    top: 0;
    right: 0;
}

Problem

I want to add a button at the corner of a panel by bootstrap. I'm trying to achieve something like this, so if anyone knows how, please give code or reference.

Original source