Advertisement
Guest User

Untitled

a guest
Apr 15th, 2017
240
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.22 KB | None | 0 0
  1. img.properties{
  2.     top: 0;
  3.     max-width: 130px;
  4.     height: auto;
  5.     padding: 0;
  6.     margin-right: 10px;
  7.     margin-left: 0px;
  8.     margin-bottom: 10px;
  9. }
  10.  
  11. body, html{
  12.     height: 100%;
  13.     margin: 0;
  14.     padding: 0;
  15.     border: 0;
  16.         }
  17.  
  18. .logo{
  19.     float: left;
  20.     margin: 0;
  21.     padding: 0;
  22. }
  23.  
  24. .header{
  25.     background: black;
  26.     width: 100%;
  27.     margin: 0;
  28.     padding: 0;
  29.     position: fixed;
  30.     top: 0;
  31.     left: 0;
  32. }
  33.  
  34. .container{
  35.     width: 60%;
  36.     margin: 0 auto;
  37.    
  38. }
  39.  
  40.  
  41.  
  42. a {
  43.     text-decoration: none;
  44.     color: white;
  45.     font-family: 'Oswald';
  46.     font-size: 25px;
  47. }
  48.  
  49. ul{
  50.     color: white;
  51. }
  52.  
  53. li {
  54.     list-style: none;
  55.     float: right;
  56.     margin: 15px;
  57.     padding-top: 14px;
  58.     font-size: 25px;
  59.     font-family: 'Oswald';
  60.  
  61. }
  62.  
  63.  
  64. #up{
  65.     margin-top: 120px;
  66.     width: 60%;
  67.    
  68. }
  69.  
  70.  
  71. .text-content{
  72.    
  73.     width: 60%;
  74.    
  75.  
  76. }
  77.  
  78. .parallax {
  79.     /* The image used */
  80.     background: url('parallax1.jpg');
  81.  
  82.     /* Full height */
  83.     height: 300px;
  84.     width: 100%;
  85.    
  86.         /* Create the parallax scrolling effect */
  87.     background-attachment: fixed;
  88.     background-position: center;
  89.     background-repeat: no-repeat;
  90.     background-size: cover;
  91. }
  92.  
  93. @media only screen and (max-device-width:1024px) {
  94.     .parallax{
  95.         background-attachment: scroll;
  96.     }
  97. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement