初步认识CSS中的浮动小案例

Original 2019-05-07 14:58:49 142
abstract:<!DOCTYPE html><html lang="en"><head>    <meta charset="UTF-8">        <title>浮动 float</title>    <st
<!DOCTYPE html>
<html>
<head>
   <meta charset="UTF-8">
   
   <title>浮动 float</title>
   <style>
div.big{
border: 1px solid red;
       }
div.c1{
height: 120px;
width: 120px;
background-color: darkgoldenrod;
float: left;
       }
div.c2{
height: 120px;
width: 120px;
background-color:purple;
float: left;
       }
div.c3{
height: 200px;
width: 200px;
background-color: brown;
           
       }

</style>
</head>
<body>
   <div>
       <div></div>
       <div></div>
   </div>
   
   <div>

   </div>
</body>
</html>


Correcting teacher:查无此人Correction time:2019-05-08 09:12:23
Teacher's summary:完成的不错。浮动在手机端网页用的比较多。继续加油。

Release Notes

Popular Entries