Advertisement
Guest User

css_gez

a guest
Feb 26th, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.19 KB | None | 0 0
  1. header{
  2.     text-align:center;
  3.     height:auto;
  4.     background-color:blue;
  5.  
  6.    
  7. }
  8.  
  9. body{background-color:blue;}
  10.  
  11. video#bgvid{
  12.    
  13.     position: fixed;
  14.     top: 50%;
  15.     left: 50%;
  16.     min-width: 100%;
  17.     min-height: 100%;
  18.     width: auto;
  19.     height: auto;
  20.     z-index: -100;
  21.     -ms-transform: translateX(-50%) translateY(-50%);
  22.     -moz-transform: translateX(-50%) translateY(-50%);
  23.     -webkit-transform: translateX(-50%) translateY(-50%);
  24.     transform: translateX(-50%) translateY(-50%);
  25.     background-size: cover;
  26.  
  27.     background:url(video/video.jpg) no-repeat;
  28.    
  29.    
  30. }
  31.  
  32.  
  33. div{   
  34.    
  35.     display:inline-block;
  36.     vertical-align:middle;
  37.    
  38. }
  39.  
  40. div#logo{padding-right:400px;}
  41. div#nav{padding-left:200px;}
  42.  
  43.  
  44.  
  45. li{display:inline-block}
  46.  
  47. img{
  48.  
  49.     height:auto;
  50.     width:250px;
  51.    
  52. }
  53.  
  54.  
  55. ul{
  56.    
  57.     list-style-type:none;
  58.     font-size:250%;
  59.     text-decoration:none;
  60. }
  61.  
  62. a{text-decoration:none;}
  63.  
  64. a:link{
  65.    
  66.         color:red;
  67.        
  68.    
  69. }
  70. a:visited {
  71.    
  72.         color:red;
  73.    
  74. }
  75. a:hover{
  76.    
  77.         color:white;
  78.    
  79. }
  80.  
  81. div#video{
  82.     display:block;
  83.     text-align:center;
  84. }
  85.  
  86. footer{
  87.     background-color:blue;
  88.     color:red;
  89.     width:auto;
  90.     height:50px;
  91.     text-align:center;
  92.     vertical-align:middle;
  93.     font-size:125%
  94.    
  95. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement