css可以通过为元素设置一个position属性值,从而达到将不同的元素显示在不同的位置, position定位是指定位置的定位,以下为常用的几种: 1、static(静态定位): 这个是元素的默认定位方式,元素出现在正常的文档流中,会占用页面空间。也就是按照文档的书写布局自动分配在一个合适的地方, ...
分类:
Web程序 时间:
2020-06-17 01:44:52
阅读次数:
85
html部分 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <style> body { padding: 0; margin: 0; } #progress { width: ...
分类:
其他好文 时间:
2020-06-16 23:43:45
阅读次数:
82
PrepareStatement 和Statement 的区别与使用 ...
分类:
数据库 时间:
2020-06-16 18:46:46
阅读次数:
58
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>test</title> </head ...
分类:
Web程序 时间:
2020-06-16 15:34:30
阅读次数:
91
html中 ( <div class="wave"> </div> ) css( .wave{ width: 200px; height: 200px; background-color: skyblue; margin: 0 auto; position: relative; overflow: ...
分类:
其他好文 时间:
2020-06-16 13:32:04
阅读次数:
68
<div style="height: 100px; width: 100px; border: 1px solid red; position: relative;"> 点击上传 <input onchange="uploadFile()" id="upload" multiple="multip ...
分类:
Web程序 时间:
2020-06-15 18:01:33
阅读次数:
91
legend: { selectedMode: true, top: 0, right: 0, orient: 'vertical', // itemWidth: 24, // itemHeight: 2, textStyle: { fontFamily: 'ABBvoiceCNSG-Regular ...
分类:
其他好文 时间:
2020-06-15 15:46:14
阅读次数:
515
网上摘录常用css片段 垂直水平居中 /*绝对定位 + 未知宽高 + translate*/ position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); /*flex 轻松搞定水平垂直居中(未知宽高*/ dis ...
分类:
Web程序 时间:
2020-06-14 23:22:57
阅读次数:
85
参考:https://blog.csdn.net/weixin_43274097/article/details/104369669 odoo12在启动的时候报错:UnicodeDecodeError: ‘gbk’ codec can’t decode byte 0x9a in position 3 ...
分类:
其他好文 时间:
2020-06-13 17:46:10
阅读次数:
83
主要实战技巧 1、自动撑满剩下 设置flex布局 一项定死宽度/高度 剩下的利用 flex:auto 撑满 .父{ display:flex; width:2000px } .子1{ flex:auto } .子2{ width:200px } 2、垂直居中 (1)古董方法 外围一半 - 自身一半 ...
分类:
Web程序 时间:
2020-06-13 17:36:21
阅读次数:
74