Created
September 27, 2012 12:38
-
-
Save rakeshtembhurne/3793784 to your computer and use it in GitHub Desktop.
CSS: Twitter Bootstrap Popover extra placements for v2.0.3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.popover.top-left, .popover.top-right { | |
margin-top: -5px; | |
} | |
.popover.bottom-left, .popover.bottom-right { | |
margin-top: 5px; | |
} | |
.popover.top-left .arrow { | |
bottom: 0; | |
left: 20%; | |
margin-left: -5px; | |
border-top: 5px solid #000000; | |
border-right: 5px solid transparent; | |
border-left: 5px solid transparent; | |
} | |
.popover.top-right .arrow { | |
bottom: 0; | |
left: 80%; | |
margin-left: -5px; | |
border-top: 5px solid #000000; | |
border-right: 5px solid transparent; | |
border-left: 5px solid transparent; | |
} | |
.popover.bottom-right .arrow { | |
top: 0; | |
left: 80%; | |
margin-left: -5px; | |
border-right: 5px solid transparent; | |
border-bottom: 5px solid #000000; | |
border-left: 5px solid transparent; | |
} | |
.popover.bottom-left .arrow { | |
top: 0; | |
left: 20%; | |
margin-left: -5px; | |
border-right: 5px solid transparent; | |
border-bottom: 5px solid #000000; | |
border-left: 5px solid transparent; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment