Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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.

enter image description here

like image 629
mkjwa Avatar asked Jul 15 '14 10:07

mkjwa


1 Answers

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;
}
like image 50
Cole Garstin Avatar answered Sep 18 '22 02:09

Cole Garstin