Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Mar 13th, 2013  |  syntax: CSS  |  size: 0.78 KB  |  views: 49  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1.  
  2. header .logo {
  3.     position: absolute;
  4.     width: 300px;
  5.     height: 85px;
  6.     margin-left: 20px;
  7.     float: left;
  8.     z-index: 100;
  9. }
  10.  
  11.  
  12. /* #Media Queries - Responsive
  13. ================================================== */
  14.  
  15. /* Tablet Portrait size to standard 960 (devices and browsers) */
  16. @media only screen and (min-width: 768px) and (max-width: 999px) {
  17.        
  18.         header .logo {
  19.                 width: 300px;
  20.                 height: 85px;
  21.         }
  22.  
  23. }
  24.  
  25. /* All Mobile Sizes (devices and browser) */
  26. @media only screen and (max-width: 767px) {
  27.        
  28.         header .logo {
  29.                 width: 300px;
  30.                 height: 85px;
  31.         }
  32.  
  33. }
  34.  
  35. /* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
  36. @media only screen and (min-width: 480px) and (max-width: 767px) {
  37.        
  38.         header .logo {
  39.                 width: 300px;
  40.                 height: 85px;
  41.         }
  42.        
  43. }