<div style=" border:100px solid #009; border-left:100px solid transparent; border-bottom:100px solid transparent;border-right:100px solid transparent; height:0px; 0px">
</div>
<div style="20px; height:150px; background-color:#006; transform:rotate(45deg); margin-left:50px">
</div>
<div style="20px; height:150px; background-color:#006; transform:rotate(-45deg); margin-left:50px; margin-top:-58px">
</div>
3,简述以下代码实现的效果:
|
4.
<style type="text/css">
*{ margin:0px auto; padding:opx}
.jr{ height:40px; 100px; float:left; vertical-align:central; line-height:40px; text-align:center; font-family:微软雅黑; color: #333; margin-top:2px}
.jr:hover{ 100px;vertical-align:central; line-height:40px; text-align:center; background-color:#b3b6bb; border-top:1px solid #F39; margin-top:1px}
</style>
</head>
<body>
<div style="height:200px; 200px"></div>
<div style="height:41px; 600px; border:1px solid #e9e9e9 ">
<div class="jr">春节</div>
<div class="jr">元宵节</div>
<div class="jr">端午节</div>
<div class="jr">中秋节</div>
<div class="jr">国庆节</div>
</div>
5
var s="";
for(var i=-1; i<2;i=i+2)
{
for(var j=-1;j<2;j=j+2)
{
for(var k=-1;k<2;k=k+2)
{
for(var l=-1; l<-2;l=l+2)
{
var leftzhi=123+i*45+j*56+k*78+l*90;
if (leftzhi==100)
{
s=("+i+")("+j+")("+k+")("+l+");
}
}
}
}
}
alert(s);