当前位置:网站首页>DIV横向布局
DIV横向布局
2022-06-22 18:13:00 【sayyy】
<body>
<div class="dpContainer">
<div class="dp dpLeft" >
</div>
<div class="dp dpRight" >
</div>
</div>
</body>
<style type="text/css">
body {
width: 3840px;
height: 1080px;
margin: 0;
}
.dpContainer{
display: flex;
width: 100%;
height: 100%;
}
.dp{
width: 1920px;
height: 1080px;
flex: 1;
}
.dpLeft{
background-color:yellow;}
.dpRight{
background-color:red;}
</style>
边栏推荐
猜你喜欢
随机推荐
Aiops intelligent operation and maintenance experience sharing
下拉刷新及上拉加载更多的ListView
Screw数据库文档生成器
After reading the hated courage
2022 t elevator repair recurrent training question bank and answers
ABAQUS 使用RSG绘制插件初体验
结构型模式之适配器模式
ssh免密码登录
远程访问及控制——SSH远程管理及TCP Wrappers 访问控制
基于云架构的业务稳定性建设思路
mysql数据库设计
5GC和卫星融合通信方案
Shell script (V) -- function
org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)
界面开发组件DevExpress ASP.NET Core v21.2 - UI组件增强
5gc and satellite integrated communication scheme
同花顺好用么?手机开户安全么?
Digital commerce cloud: analyze the design idea of B2B2C multi-user mall system architecture, and open a new era of intelligent mall
实践出真知:全网最强秒杀系统架构解密,不是所有的秒杀都是秒杀!!
回文数(简单版)





![Programmer's tool encyclopedia [continuous update]](/img/7e/b7fbc030f4bbded3ee6188360d7d54.png)


