当前位置:网站首页>高度塌陷最终解决方案(无副作用)
高度塌陷最终解决方案(无副作用)
2022-07-27 12:48:00 【不好意思,此人不存在】
高度塌陷最终解决方案(无副作用)
<!DOCTYPE html>
<html lang="ch">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style> .box1{
border: 10px red solid; /* overflow: hidden; */ } .box2{
width: 100px; height: 100px; background-color: #bbffaa; float: left; } /* 使用伪类元素解决高度塌陷 */ .box1::after{
content: ''; display: block; clear: both; } </style>
</head>
<body>
<div class="box1">
<div class="box2"></div>
</div>
</body>
</html>
边栏推荐
- Open source project - taier1.2 release, new workflow, tenant binding simplification and other functions
- Background and framework introduction and basic environment preparation of hucang integrated e-commerce project
- 【表达式计算】双栈 : 表达式计算问题的通用解法
- Optimization Practice of Flink OLAP job scheduling and query execution based on ByteDance
- JS true / false array conversion
- 如何获取Class类对象
- 592. 分数加减运算 : 表达式计算入门题
- 详述throw与throws
- 完美指南|如何使用 ODBC 进行无代理 Oracle 数据库监控?
- MySQL扩展
猜你喜欢

Aike AI frontier promotion (7.27)

Eccv2022 | Ru & Google proposed to use clip for zero shot target detection!

「游戏引擎 浅入浅出」4.1 Unity Shader和OpenGL Shader

Overview of famous inner classes and anonymous inner classes

How can the top 500 enterprises improve their R & D efficiency? Let's see what industry experts say!

开源项目丨Taier1.2版本发布,新增工作流、租户绑定简化等多项功能

Detail throw and throws

Initializing database error after reinstalling MySQL

Set接口

JS true / false array conversion
随机推荐
爬虫
SQL statement problem, calculate the data with a difference of less than 10 minutes to be displayed as the same batch of data
视频游戏沉迷行为研究综述
Firefox 103 发布,更快、更安全
时间工具类,得到当前时间,date转string
CEPH distributed storage performance tuning (6)
PG synchronizes multiple data tables to MySQL. Is there a way to simplify the configuration?
Firefox 103 release, faster and more secure
Reptile
详述jdbc查询方法执行过程
Self built personalized automatic quotation system to cope with changeable quotation mode
Will saffron become a safe and effective natural therapy for patients with arthritis?
关于 CMS 垃圾回收器,你真的懂了吗?
ECCV2022 | RU&谷歌提出用CLIP进行zero-shot目标检测!
概述静态内部类与非静态内部类
JS true / false array conversion
二分法查询数组中的值
Xposed+FDex2 app脱壳 (黑猫投诉app脱壳)
【萌新解题】斐波那契数列
Article reproduction: srcnn