Normalise screen size notation
Assuming that the col-lg-* and col-sm-* proposal goes through (which I like, see https://github.com/twitter/bootstrap/pull/7704) then we could use consistent names for different screen sizes:
sm for phone
md for tablet (stands for "medium")
lg for desktop
Therefore:
.visible-phone -> .visible-sm .visible-tablet -> .visible-md (md for "medium") .visible-desktop -> .visible-lg [similarly for .hidden-*]
Just a though.
Fur sure. I can get behind that.
Similarly, can this nomenclature also be applied to other classes that use size-related modifiers in their name? Or would this open up a small can of worms due to the inclusion of -mini? Not sure how genrally accepted a two-letter abbreviation would be in that case. Maybe -min?
.btn-lg
.btn-sm
.btn-min
.pagination-lg
.pagination-sm
.pagination-min
Don't think it's wise to mix device depedent code with size related code.
but shortening the .visible-xxx seems like a cool idea ;-)
I've changed the phone, tablet and desktop alone.
.visible-phone -> .visible-sm .visible-tablet -> .visible-md (md for "medium") .visible-desktop -> .visible-lg [similarly for .hidden-*]
nice. :)
Changed as of #7850 in v3.