Difference between revisions of "Team:XMU-China/css/cebianlanCss"

Line 7: Line 7:
 
#cebianlan{
 
#cebianlan{
 
float:left;
 
float:left;
 +
width:80px;
 +
margin-top:0px;
 
margin-left:10%;
 
margin-left:10%;
margin-top:0px;
 
width:6%;
 
 
text-align:center;
 
text-align:center;
font-size:20px;
 
font-color:#ffffff;
 
 
background:#000000;}
 
background:#000000;}
 
.menu-list1{
 
width:10%;
 
height:40px;
 
background-color:#000000;
 
margin-top:6px;
 
padding-top:10px;}
 
.menu-list1 a{font-size:20px;color:#ffffff;margin-top:5%;
 
}
 
.title-list{margin-top:50px;}
 
  
 
}
 
}
Line 31: Line 19:
 
@media only screen and (max-width: 768px){
 
@media only screen and (max-width: 768px){
 
#cebianlan{
 
#cebianlan{
clear:all;
+
background-color:green;
width:100%;
+
margin-top:0px;
+
margin-left:10%;
+
text-align:center;
+
font-size:20px;
+
 
}
 
}
  
  
.menu-list1{
 
width:120%;}
 
 
}
 
}

Revision as of 17:05, 1 November 2017

li{ list-style: none; }

@media only screen and (min-width: 769px){

  1. cebianlan{

float:left; width:80px; margin-top:0px; margin-left:10%; text-align:center; background:#000000;}

}


@media only screen and (max-width: 768px){

  1. cebianlan{

background-color:green; }


}