style="width:600px;height:auto !important;min-height:500px;margin:12px auto;"></iframe> 195400 发表于 2021-9-27 12:49
现在应该有了吧。
做试验,不用div等标签,近乎纯SVG。
现在看到了。谢谢老师又教了我新的知识:lol。不用div,这样可以宽高自适应。另加div时,又可以想让它的大小多大就多大,真好。 寒冬残荷 发表于 2021-9-27 18:12
现在看到了。谢谢老师又教了我新的知识。不用div,这样可以宽高自适应。另加div时,又可以想让它的大 ...
瞎琢磨的:L
<div style="position:relative; width:1000px; height:800px; border-radius:0px; left:0px; top:0px; ">
<script type="text/javascript">
document.write(unescape("%3Cdiv%20style%3D%22position%3Arelative%3B%20width%3A100%25%3B%20height%3A670px%3B%20left%3A0px%3B%20top%3A0px%3B%20overflow%20%3A%20hidden%3Bborder%3A2px%20%23777777%20solid%3Bborder-radius%3A16px%3B%20%22%3E%0A%3Cvideo%20src%3D%22https%3A//video-qn.51miz.com/preview/video/00/00/13/31/V-133169-80B377D1.mp4%22%20loop%20%20autoplay%20type%3D%22video/mp4%22%20style%3D%22width%3A1000px%3B%20height%3A670px%3Bmargin%20%3A%202px%20auto%3Bborder-radius%3A16px%3Btransform%3A%20scaleY%281.2%29%3B%22%3E%3C/video%3E%3C/div%3E%0A%3Cdiv%20style%3D%22position%3Aabsolute%3B%20width%3A784px%3B%20height%3A560px%3B%20top%3A55px%3Bleft%3A110px%3B%20border%3A2px%20%23dddddd%20solid%3B%22%3E%0A%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20xmlns%3Axlink%3D%22http%3A//www.w3.org/1999/xlink%22%20version%3D%221.1%22%20viewBox%3D%220%200%20700%20500%22%20%20x%3D%220%22%20y%3D%220%22%3E%0A%3Cimage%20xlink%3Ahref%3D%22https%3A//z3.ax1x.com/2021/09/25/4sRDQf.jpg%22%20width%3D%22700%22%20height%3D%22500%22%20opacity%3D%221%22%20x%3D%220%22%20y%3D%220%22%20preserveAspectRatio%3D%22none%22%3E%0A%3Canimate%20id%3D%22pp0%22%20attributeName%3D%22x%22%20from%3D%220%22%20to%3D%22-700%22%20begin%3D%224s%3Bpp3.end%22%20dur%3D%227s%22%20fill%3D%22freeze%22%3E%3C/animate%3E%0A%3C/image%3E%0A%3Cimage%20xlink%3Ahref%3D%22https%3A//z3.ax1x.com/2021/09/25/4r8o80.jpg%22%20width%3D%227884%22%20height%3D%22500%22%20x%3D%22700%22%20y%3D%220%22%20preserveAspectRatio%3D%22none%22%3E%0A%3Canimate%20id%3D%22pp1%22%20attributeName%3D%22x%22%20from%3D%22700%22%20to%3D%22-7884%22%20begin%3D%22pp0.end-7%22%20dur%3D%2285.84%22%20fill%3D%22freeze%22%3E%3C/animate%3E%0A%3C/image%3E%0A%3Cimage%20xlink%3Ahref%3D%22https%3A//z3.ax1x.com/2021/09/25/4r8hUs.jpg%22%20width%3D%227882%22%20height%3D%22500%22%20x%3D%22700%22%20y%3D%220%22%20preserveAspectRatio%3D%22none%22%3E%0A%3Canimate%20id%3D%22pp2%22%20attributeName%3D%22x%22%20from%3D%22700%22%20to%3D%22-7882%22%20begin%3D%22pp1.end-7%22%20dur%3D%2285.82%22%20fill%3D%22freeze%22%3E%3C/animate%3E%0A%3C/image%3E%0A%3Cimage%20xlink%3Ahref%3D%22https%3A//z3.ax1x.com/2021/09/25/4sRDQf.jpg%22%20width%3D%22700%22%20height%3D%22500%22%20opacity%3D%221%22%20x%3D%22700%22%20y%3D%220%22%20preserveAspectRatio%3D%22none%22%3E%0A%3Canimate%20id%3D%22pp3%22%20attributeName%3D%22x%22%20from%3D%22700%22%20to%3D%220%22%20begin%3D%22pp2.end-7%22%20dur%3D%227s%22%20fill%3D%22freeze%22%3E%3C/animate%3E%0A%3Cset%20attributeName%3D%22x%22%20to%3D%22700%22%20begin%3D%22pp3.end%22%3E%3C/set%3E%0A%3C/image%3E%0A%3Ctext%20x%3D%22160%22%20y%3D%22475%22%20style%3D%22fill%3Atransparent%3B%20opacity%3A1%3Bfont-size%3A26px%3Bstroke%3A%23777777%3Bstroke-width%3A0.5%3Bfont-family%3ASTCaiyun%3B%22%3E%u7D20%u6750%uFF1A%u7F51%u7EDC%u3000%u3000%u5236%u4F5C%uFF1A%u5BD2%u51AC%u6B8B%u8377%3C/text%3E%0A%3C/svg%3E%0A%3C/div%3E%0A%3Caudio%20autoplay%3D%22autoplay%22%20loop%3D%22loop%22%20src%3D%22https%3A//ss2.meipian.me/users/3988504/0e6b67a0-1f99-11ec-a7c9-656fbcd6cd6d.mp3%22%20type%3D%22audio/mpeg%22%3E%3C/audio%3E%0A"));
</script>
</div>
寒冬残荷 发表于 2021-9-27 22:22
document.write(unescape("%0A%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20xmlns%3Axlin ...
<div style="position:relative; width:1000px; height:1150px; border-radius:0px; left:0px; top:0px; ">
<div style="position:relative; width:1350px; height:1056px; left:-260px; top:100px; ">
………………
</div></div>
两层div是不是多了,一层就够了
<div style="position:relative; width:1350px; height:auto !important;min-height:800px; margin:100px 0px 32px -260px; ">
………………</div>
195400 发表于 2021-9-28 07:37
两层div是不是多了,一层就够了
老师,第一层是设置我的“楼”高,上次在天涯因为没有这一层,结果我的帖子变成了死贴(不能修改、不能回复,即看不到“楼”下方的最后”功能“行)。 寒冬残荷 发表于 2021-9-28 09:15
老师,第一层是设置我的“楼”高,上次在天涯因为没有这一层,结果我的帖子变成了死贴(不能修改、不能回 ...
为防止“死帖”这样一句最有效
margin: 100px 0px 32px -260px;分别对应 上、右、下、 左 边的距离
而top只会使帖子下移,其值小于100是还行,大于或等于100就会遮挡下面的按钮造成死帖
寒冬残荷 发表于 2021-9-28 09:15
老师,第一层是设置我的“楼”高,上次在天涯因为没有这一层,结果我的帖子变成了死贴(不能修改、不能回 ...
欣赏学习,点赞!
感觉镜框太厚实了些。
死贴,也没此一说。从论坮原代码里的 编辑 入口链接进去就行了!
页:
1
[2]