<!DOCTYPE html>
<html>
<head>
<title></title>
<style type="text/css">
span{
width: 300px;
display: inline-block;
}
</style>
</head>
<body>
<div style="overflow: hidden;">
<div style="float: right; background: #ccc; width: 30px;">3</div>
<div style=" background: red;margin-right: 30px">
<span>1</span>
<span>1</span>
<span>1</span>
<span>1</span>
<span>1</span>
<span>1</span>
v
<span>1</span><span>1</span>
</div>
</div>
</body>
</html>
2021-08-13 css-项目布局的时候左侧菜单和内容高度不一样 怎么对齐呢?
最新推荐文章于 2023-05-11 09:56:52 发布