<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<style type="text/css">
*{
margin: 0;
width: 0;
}
.demo1{
height: 100px;
width: 100px;
background-color: #fcc;
position: absolute;
right: 0;
}
.demo2{
height: 100px;
margin-right: 100px;
background-color: black;
}
</style>
<title></title>
</head>
<body>
<div class="demo1"></div>
<div class="demo2"></div>
</body>
</html>
CSS3——两栏布局
猜你喜欢
转载自blog.csdn.net/hdq1745/article/details/84141128
今日推荐
周排行