一个200*200的div在不同分辨率屏幕上下左右居中,用css实现
<style> /*一个200*200的div在不同分辨率屏幕上下左右居中,用css实现*/ div { background: red; position:absolute; width:200px; height:200px; top:50%; left:50%; margin-left:-50px; height:-50px; z-index:1000; }</style>
上完课拿到想要的offer了!!谢谢大拿老师!
{ position:fixed;
left:0;
right:0;
top:0;
bottom:0;
margin:auto;
}
#container{ width:200px; height:200px; position: absolute; top:50%; left:50%; margin-top:-50px; margin-left: -50px; background-color: #9ACD32; }
列举一款你常用的移动APP,并分析他的最核心功能、满足的需求、超预期的功能以及竞争优势和发展趋势
使用js实现数组的快速排序
某公园内有个奇怪的摊主小周,他只在星期一、星期二、星期三、星期五和星期六工作,而且他只出售4种商品:玩具汽车、充气气球、橡皮泥和遥控飞机。<
如果你是一个100w日活的UGC短视频APP产品经理,你觉得此时是做分享视频打水印重要,还是优化播放器让视频播放更加顺畅重要?
上完课拿到想要的offer了!!谢谢大拿老师!
{ position:fixed;
left:0;
right:0;
top:0;
bottom:0;
margin:auto;
}
#container{
width:200px;
height:200px;
position: absolute;
top:50%;
left:50%;
margin-top:-50px;
margin-left: -50px;
background-color: #9ACD32;
}