Skip to content

Instantly share code, notes, and snippets.

@raihan004
Created September 13, 2015 09:02
Show Gist options
  • Save raihan004/42b2c14936eba79ee68b to your computer and use it in GitHub Desktop.
Save raihan004/42b2c14936eba79ee68b to your computer and use it in GitHub Desktop.
responsive bootstrap button using media queries
@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