做一个在页面中相对定位的例子。画一个方框定位在页面水平,垂直都居中的div
<style> div { position: absolute; height: 100px; width: 100px; top: 20%; left: 20%; margin-left: -50px; margin-top: -50px; border: 1px solid #555; } </style> <div>test</div>
·
做一个在页面中相对定位的例子。画一个方框定位在页面水平,垂直都居中的div
<style> div { position: absolute; height: 100px; width: 100px; top: 20%; left: 20%; margin-left: -50px; margin-top: -50px; border: 1px solid #555; } </style> <div>test</div>
一 | 二 | 三 | 四 | 五 | 六 | 日 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 | 31 |
2025 Ai Android 安卓 asp ax6 ax3600 chrome discuz docker Dreamweaver frp google I900 id4 id4x intel iphone k2 magicbook Microsoft mysql N1 nas nuskin office openwrt php QSDK ssh ssr Tr90 web win10 windows wordpress 一些人 京东云 减肥 如新 应用 拍美食 无线路由器 电影 设计 贝塔
fsfsfs
发表回复