Created
September 13, 2015 09:02
-
-
Save raihan004/42b2c14936eba79ee68b to your computer and use it in GitHub Desktop.
responsive bootstrap button using media queries
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 (max-width: 768px) { | |
.btn-responsive { | |
padding:2px 4px; | |
font-size:80%; | |
line-height: 1; | |
border-radius:3px; | |
} | |
} | |
@media (min-width: 769px) and (max-width: 992px) { | |
.btn-responsive { | |
padding:4px 9px; | |
font-size:90%; | |
line-height: 1.2; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment