Difference between revisions of "Team:UCL/Playingaround3"

Line 26: Line 26:
 
{height: 100vh !important;
 
{height: 100vh !important;
 
   width: 100%;
 
   width: 100%;
   position: relative;
+
   position: fixed !important;
 
margin: 0;
 
margin: 0;
 
padding: 0;
 
padding: 0;
 +
top: 0;
 +
bottom: 0;
 
    
 
    
 
   -webkit-background-size: cover;
 
   -webkit-background-size: cover;
Line 86: Line 88:
  
  
<script>
 
**$(window).resize(function() {
 
  
$(‘#my-div’).css(‘height’, window.innerHeight+’px’);
 
 
});**
 
</script>
 
  
 
</body>
 
</body>
 
</html>
 
</html>

Revision as of 21:57, 29 June 2015

1
2
3
abstract
why