06 2020 档案

摘要:1,如果是顶层DIV ,要保持宽度和高度一致 可以直接定义宽度的尺寸为 10vw, 高度的尺寸也是 10vw,而不是10vh。 2,对不是顶层DIV,如何保持DIV 的宽度和高度一致: .iframe span { position: absolute; z-index: 2; top: 2%; l 阅读全文
posted @ 2020-06-30 11:21 琥珀君 阅读(914) 评论(0) 推荐(0)
摘要:1,网址地址:https://dummyimage.com/ 示例1: https://dummyimage.com/400x300/ff3ff3&text=welcome! 400x300 : 为图片大小 ff3ff3 : 为图片颜色 &text=welcome! : & 后面为图片上的文字 ht 阅读全文
posted @ 2020-06-30 11:13 琥珀君 阅读(510) 评论(0) 推荐(0)
摘要:.iframe { width: 70%; height: 80%; top: 50%; left: 50%; transform: translate(-50%, -50%); position: fixed; z-index: 999; display: none; } 阅读全文
posted @ 2020-06-29 15:56 琥珀君 阅读(128) 评论(0) 推荐(0)
摘要:1,box-sizing:border-box; 属性 div.container { width:30em; border:1em solid green; } div.box { box-sizing:border-box; -moz-box-sizing:border-box; /* Fire 阅读全文
posted @ 2020-06-29 15:21 琥珀君 阅读(441) 评论(0) 推荐(0)
摘要:1,用jpg png 写法: <link rel="icon" type="image/png" sizes="32x32" href="images/icons/favicon.png" class="keep"> 通常的写法: <link rel="shortcut icon" href="im 阅读全文
posted @ 2020-06-29 14:53 琥珀君 阅读(225) 评论(0) 推荐(0)
摘要:去掉页面滚动条: overflow: hidden; body, html { width: 100%; height: 100%; overflow: hidden; } 禁止页面双击缩放大小: <!-- 禁止双击缩放 --> <meta content="width=device-width, 阅读全文
posted @ 2020-06-27 16:50 琥珀君 阅读(236) 评论(0) 推荐(0)
摘要:1,谷歌浏览器禁用视频自动播放,原因是有声音 解决办法: video增加muted属性 增加这个muted属性可使视频自动播放 同时也屏蔽掉了声音 <video class="pic-img" muted loop="loop" autoplay="autoplay" src="./videos/i 阅读全文
posted @ 2020-06-27 16:19 琥珀君 阅读(704) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2020-06-17 15:34 琥珀君 阅读(8) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2020-06-11 14:48 琥珀君 阅读(0) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2020-06-05 16:12 琥珀君 阅读(0) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2020-06-05 14:00 琥珀君 阅读(0) 评论(0) 推荐(0)
摘要:新建一个reg文件,内容如下: Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\Sublime3] @="Sublime3 Protocol" "URL Protocol"="" [HKEY_CLASSES_ROOT\Sublime3\ 阅读全文
posted @ 2020-06-04 16:58 琥珀君 阅读(199) 评论(0) 推荐(0)