Skip to content
This repository has been archived by the owner on Jun 13, 2024. It is now read-only.

Commit

Permalink
add browser specific text-center
Browse files Browse the repository at this point in the history
  • Loading branch information
hans2103 committed Sep 29, 2014
1 parent c862c7b commit c0974b9
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions less/_custom.less
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,28 @@ h1 {
margin: 0 auto;
}

// Browser width specific .text-center
.text-xs-center {
@media (max-width: @screen-xs-max) {
text-align: center;
}
}
.text-sm-center {
@media (max-width: @screen-sm-max) {
text-align: center;
}
}
.text-md-center {
@media (max-width: @screen-md-max) {
text-align: center;
}
}
.text-lg-center {
@media (min-width: @screen-lg-min) {
text-align: center;
}
}

@media (min-width: 992px) {
.col-md-one-third {
float:left;
Expand Down

0 comments on commit c0974b9

Please sign in to comment.