Advertisement
Guest User

Untitled

a guest
Aug 22nd, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.51 KB | None | 0 0
  1. <style>
  2.  
  3. h1 {
  4. color: #007fed;
  5. position: fixed;
  6. font-weight: 200;
  7. text-align: center;
  8. top: 73%;
  9. width: 100%;
  10. }
  11.  
  12.  
  13.  
  14. body {
  15. background: url(../dist/img/bg.jpg) center center no-repeat fixed !important;
  16. -webkit-background-size: cover !important;
  17. -moz-background-size: cover !important;
  18. -o-background-size: cover !important;
  19. background-size: cover !important;
  20. padding: 0 !important;
  21. margin: 0 !important;
  22. overflow: hidden;
  23. }
  24.  
  25. @media screen
  26. and (device-width: 320px)
  27. and (device-height: 640px)
  28. and (-webkit-device-pixel-ratio: 3) {
  29. body {
  30. overflow: scroll !important;
  31. background: 0 !important;
  32. background-color: #ccc !important;
  33. }
  34.  
  35. }
  36.  
  37. @media screen
  38. and (device-width: 360px)
  39. and (device-height: 640px)
  40. and (-webkit-device-pixel-ratio: 3) {
  41. body {
  42. overflow: scroll !important;
  43. background: 0 !important;
  44. background-color: #ccc !important;
  45. }
  46.  
  47. }
  48.  
  49. @media screen
  50. and (device-width: 320px)
  51. and (device-height: 480px)
  52. and (-webkit-device-pixel-ratio: 3) {
  53. body {
  54. overflow: scroll !important;
  55. background: 0 !important;
  56. background-color: #ccc !important;
  57. }
  58.  
  59. }
  60.  
  61. @media screen
  62. and (device-width: 768px)
  63. and (device-height: 1024px)
  64. and (-webkit-device-pixel-ratio: 1) {
  65. body {
  66. overflow: scroll !important;
  67. background: 0 !important;
  68. background-color: #ccc !important;
  69. }
  70.  
  71. }
  72.  
  73.  
  74. </style>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement