Difference between revisions of "Team:NYMU-Taipei"

Line 19: Line 19:
 
h1{color:#FFFFFF; font-family: 'Product Sans', Arial, sans-serif; display:inline-block; font-size:60px; margin:auto;}
 
h1{color:#FFFFFF; font-family: 'Product Sans', Arial, sans-serif; display:inline-block; font-size:60px; margin:auto;}
  
#index{width:100%; height:600px; justify-content:space-between; display:flex;}
+
#outside{width:100%; height:600px; text-align:center;}
 +
#inside{width:100%; height:100%; justify-content:space-between; display:flex;}
 
#indeximage{width:100%; height:100%; overflow:hidden; margin-left:-20%; margin-right:-20%;}
 
#indeximage{width:100%; height:100%; overflow:hidden; margin-left:-20%; margin-right:-20%;}
  
Line 38: Line 39:
 
h1{color:#FFFFFF; font-family: 'Product Sans', Arial, sans-serif; display:inline-block; font-size:60px; margin:auto;}
 
h1{color:#FFFFFF; font-family: 'Product Sans', Arial, sans-serif; display:inline-block; font-size:60px; margin:auto;}
  
#index{width:100%; height:680px;}
+
#outside{width:100%; height:680px; text-align:center;}
#indeximage{width:100%; height:100%;}
+
#inside{width:100%; height:100%;}
 +
#indeximage{width:100%; height:100%; overflow:hidden; margin-left:-20%; margin-right:-20%;}
  
 
}
 
}
Line 49: Line 51:
 
<html>
 
<html>
  
<div id="index">
+
<div id="outside">
 
+
<div id="inside">
 
<img src="https://s-media-cache-ak0.pinimg.com/736x/95/d7/56/95d7563872633ac2791810d9911f615d.jpg" id="indeximage" />
 
<img src="https://s-media-cache-ak0.pinimg.com/736x/95/d7/56/95d7563872633ac2791810d9911f615d.jpg" id="indeximage" />
 
+
</div>
 
</div>
 
</div>
  
 
</html>
 
</html>

Revision as of 21:06, 2 October 2016