Created
October 26, 2012 04:47
-
-
Save doginthehat/3956860 to your computer and use it in GitHub Desktop.
Responsive bootstrap popover
This file contains 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
@media (min-width: 768px) and (max-width: 979px) { | |
.popover { | |
width:200px; | |
} | |
.popover-title { | |
padding: 4px 10px; | |
font-size: 14px; | |
line-height: 18px; | |
} | |
.popover-content { | |
padding: 4px 10px; | |
} | |
} | |
@media (min-width: 481px) and (max-width: 767px){ | |
.popover { | |
width:180px; | |
} | |
.popover-title { | |
padding: 4px 10px; | |
font-size: 14px; | |
line-height: 16px; | |
} | |
.popover-content { | |
padding: 4px 10px; | |
} | |
} | |
@media (max-width: 480px){ | |
.popover { | |
width:170px; | |
} | |
.popover-title { | |
padding: 4px 6px; | |
font-size: 14px; | |
line-height: 14px; | |
} | |
.popover-content { | |
padding: 4px 6px; | |
font-size:12px; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment