Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Adding retina display support

  • Loading branch information...
commit 7cef1c64d61d1c38b8d0614aea31aa5980ef5c94 1 parent 8b211e8
Adam Kochanowicz ajkochanowicz authored

Showing 1 changed file with 8 additions and 0 deletions. Show diff stats Hide diff stats

  1. +8 0 less/responsive-utilities.less
8 less/responsive-utilities.less
@@ -17,6 +17,8 @@
17 17 .hidden-phone { }
18 18 .hidden-tablet { }
19 19 .hidden-desktop { display: none !important; }
  20 +.hidden-hd { display: inherit !important; }
  21 +.visible-hd { display: none !important; }
20 22
21 23 // Phones only
22 24 @media (max-width: 767px) {
@@ -39,3 +41,9 @@
39 41 .hidden-desktop { display: inherit !important; }
40 42 .visible-desktop { display: none !important ; }
41 43 }
  44 +
  45 +// Retina display devices only
  46 +@media all and (-webkit-min-device-pixel-ratio : 1.5) {
  47 + .hidden-hd { display: none !important; }
  48 + .visible-hd { display: inherit !important; }
  49 +}

0 comments on commit 7cef1c6

Please sign in to comment.
Something went wrong with that request. Please try again.