1. 程式人生 > >筆記1

筆記1

bsp eight order class css clas borde title idt

<!DOCTYPE html>

<html>

<head>

<meta charset="utf-8">

<title></title>

<style type="text/css">

.box{

border: 1px solid red;

}

.aa{

width: 200px;

height: 200px;

background: #CCCCCC;

float: left;

}

.clearfix:after{

content: "";

display: block;

clear: both;

}

</style>

</head>

<body>

<div class="box clearfix">

<div class="aa">

</div>

</div>

</body>

</html>

筆記1