0
点赞
收藏
分享

微信扫一扫

day14 python css 漂浮的学习

罗蓁蓁 2022-08-02 阅读 75

<!DOCTYPE html>

<html>

<head lang="en">

<meta charset="UTF-8">

<title></title>

</head>

<body>



<div style="width: 500px;height:500px;border: 1px solid yellow">

<div style="width: 20%;background-color: red;float: left">a</div>

<div style="width: 30%;background-color: red;float: left">f</div>

<div style="clear: both"></div><!--在所有漂浮的孩子最后加她可以在父类没有高度的情况下,让子类把它撑起来 -->

</div>



</body>

</html>

举报

相关推荐

day14学习总结

day14

Day14 IO

Oracle day14

Day14(String类)

0 条评论