Difference between revisions of "Team:HFUT-China/cocss"

(Created page with "div.whole-info p{ margin-bottom: 5%; } div#ouc{ background-image: url(https://static.igem.org/mediawiki/2015/3/34/Ouc-co.JPG); background-repeat: no-repeat; background-size: 30...")
 
 
Line 1: Line 1:
 +
div.container{
 +
background: linear-gradient(180deg, #53eacb, #59cbf7);
 +
}
 +
 
div.whole-info p{
 
div.whole-info p{
 
margin-bottom: 5%;
 
margin-bottom: 5%;

Latest revision as of 10:13, 18 September 2015

div.container{ background: linear-gradient(180deg, #53eacb, #59cbf7); }

div.whole-info p{ margin-bottom: 5%; }

div#ouc{ background-image: url(Ouc-co.JPG); background-repeat: no-repeat; background-size: 300px 200px;

   width: 300px;
   height: 200px;

}

div#hfut{ background-image: url(All_s.jpg);

   background-repeat: no-repeat;
   background-size: 300px 197px;
   width: 300px;
   height: 197px;
   float:left;

}

@media (min-width: 1050px) and (max-width: 1300px) { div#ouc{ background-size: 400px 265px; width: 400px; height: 265px; } div#hfut{

       background-size: 400px 263px;
       width: 400px;
       height: 263px;

} }

@media (min-width: 1300px) { div#ouc{ background-size: 500px 330px; width: 500px; height: 330px; } div#hfut{ background-size: 500px 333px;

       width: 500px;
       height: 333px;

}

}