返回十字架练习双飞......登陆

十字架练习双飞翼练习

虎哥2019-01-22 00:10:42266

<!DOCTYPE html>

<html lang="en">

<head>

<meta charset="UTF-8">

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<meta http-equiv="X-UA-Compatible" content="ie=edge">

<link rel="stylesheet" href="css/style1.css">

<title>十字架</title>

</head>

<body>

<div class="num1"></div>

<div class="num2"></div>

<div class="num3"></div>

<div class="num4"></div>

<div class="num5"></div>

</body>

</html>


.num1{

width: 200px;

height: 200px;

font-size: 50px;

font-weight: 1000;

line-height: 200px;

text-align: center;

background: aqua;

float: left;

margin-left: 200px;

}

.num2{

width: 200px;

height: 200px;

font-size: 50px;

font-weight: 1000;

line-height: 200px;

text-align: center;

background: rgb(96, 30, 158);

float: left;

margin-top:200px;

}

.num3{

width: 200px;

height: 200px;

font-size: 50px;

font-weight: 1000;

line-height: 200px;

text-align: center;

background: rgb(121, 204, 65);

float: left;

margin-top:200px;

margin-left:-400px;

}

.num4{

width: 200px;

height: 200px;

font-size: 50px;

font-weight: 1000;

line-height: 200px;

text-align: center;

background: rgb(212, 12, 12);

float: left;

margin-top:200px;

margin-left:-600px;

}

.num5{

width: 200px;

height: 200px;

font-size: 50px;

font-weight: 1000;

line-height: 200px;

text-align: center;

background: rgb(136, 235, 23);

float: left;

margin-top:400px;

margin-left:-400px;

}

======================================================

<!DOCTYPE html>

<html lang="en">

<head>

<meta charset="UTF-8">

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<meta http-equiv="X-UA-Compatible" content="ie=edge">

<title>双飞翼</title>

<link rel="stylesheet" href="css/style2.css">

</head>

<body>

<!-- 导航 -->

<div class="top">

<ul class="menu">      

<li class="shouye"><a href="">首页</a></li>

<li class="jieshao"><a href=""> 介绍</a></li>

<li class="chanpin"><a href="">产品</a></li>

<li class="kefu"><a href="">客服</a></li>

<li class="lianxi"><a href="">联系我们</a></li>

</ul>

</div>

<!-- 内容 -->

<div class="conet">

<!-- 左布局 -->

<div class="conet_left">left</div>

<!-- 中间布局 -->

<div class="coneter">coneter</div>

<!-- 右布局  -->

<div class="conet_right">right</div>

</div>

<!-- 清除浮动 -->

<div class="clear"></div>


<!-- 底部 -->

<div class="footer">

<p class="footer_p">PHP中网文 tel:0359-8687</p>

</div>

</body>

</html>


.clear{clear: both;}

.top{

width: 100%;

background-color:rgb(7, 7, 7);

}

ul{

width:950px;

min-height: 50px;

background-color:#ccc;

margin:10px auto;

padding-left: 50px;


}

.top ul li {

float:left;

margin-left:10px;

list-style: none;

line-height: 50px;

}

a{

text-decoration: none;

}

a:hover{

background-color:yellow;

color: rgb(8, 8, 8);

}


.conet{

width: 1000px;

margin:10px auto;

}

.conet_left{

min-width:195px;

min-height:350px;

background:rgb(30, 133, 151);

float: left;

}

.coneter{

min-width:600px;

min-height:350px;

background:rgb(196, 8, 36);

float: left;

margin: 0 5px;

}

.conet_right{

min-width:195px;

min-height:350px;

background:rgb(30, 133, 151);

float: left;

}

.footer{

width: 100%;

background-color:rgb(7, 7, 7);

}

.footer_p{

width:950px;

min-height: 50px;

line-height: 50px;

background-color:#ccc;

margin:10px auto;

padding-left: 50px;

list-style: none;

text-align: center;


}



最新手记推荐

• 用composer安装thinkphp框架的步骤• 省市区接口说明• 用thinkphp,后台新增栏目• 管理员添加编辑删除• 管理员添加编辑删除

全部回复(0)我要回复

暂无评论~
  • 取消回复发送