可爱老人网

 找回密码
 注册会员
搜索
楼主: 松柏一

【单图音画】舞动青春

[复制链接]
 楼主| 发表于 2021-10-23 19:01 | 显示全部楼层
本帖最后由 松柏一 于 2021-10-24 19:23 编辑

<style type="text/css">
#level1st {
        position: relative;
        width:1100px;
        text-align:center;
        padding:50px;margin:100px 0 32px -240px;
        background:url();
}
#level2nd {
        padding:10px;
        background:url();
        border-left-color:#efc09a;
        border-top-color: #efc09a;
        border-style:solid;
        border-width:thin;
        border-right-color: #7b5640;
        border-bottom-color:#7b5640;
        width:auto;
}

#level3rd {
        border-width:thin;
        text-align:center;
        border-style:solid;width:auto;
        /*border-left-color:#7b5640;
        border-top-color: #7b5640;
        border-right-color: #efc09a;
        border-bottom-color:#efc09a;*/
        border-color:#7b5640 #efc09a #efc09a #7b5640;
}
#level4th {
        border-width:thin;
        padding:10px;
        background:url();
        border-left-color:#efc09a;
        border-top-color:#efc09a;
        border-style:solid;
        border-right-color:#7b5640;
        border-bottom-color:#7b5640;
        width:auto;
}

#contentLayer {
        border-width:thin;
        text-align:center;
        border-style:solid;
        border-left-color:#7b5640;
        border-top-color:#7b5640;
        width:auto;
        border-right-color:#efc09a;
        border-bottom-color:#efc09a;
}
</style>
<div id="level1st">
<div id="level2nd">
<div id="level3rd">
<div id="level4th">
<div id="contentLayer">
<iframe style="height:576px; width:1024px;" frameborder='0' scrolling='no'
src='https://player.youku.com/embed/XNDY4OTg1NDY2NA==' ></iframe>
</div>
</div>
</div>
</div>
</div>
发表于 2021-10-23 19:08 | 显示全部楼层

你得把这三个边框图片上传成地址后填到()里去啊!
 楼主| 发表于 2021-10-23 19:12 | 显示全部楼层
静悟 发表于 2021-10-23 19:08
你得把这三个边框图片上传成地址后填到()里去啊!

我原来发上来的代码不是这样的,不知为什么粘贴在这里击变成这样了
 楼主| 发表于 2021-10-23 19:19 | 显示全部楼层
松柏一 发表于 2021-10-23 19:12
我原来发上来的代码不是这样的,不知为什么粘贴在这里击变成这样了


这是我粘贴在编辑器上面的代码,不知为什么复制粘贴论坛后变成上面这个样了?

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册会员

x
发表于 2021-10-23 19:23 | 显示全部楼层
松柏一 发表于 2021-10-23 19:19 这是我粘贴在编辑器上面的代码,不知为什么复制粘贴论坛后变成上面这个样了?
发表于 2021-10-23 19:25 | 显示全部楼层
松柏一 发表于 2021-10-23 19:19
这是我粘贴在编辑器上面的代码,不知为什么复制粘贴论坛后变成上面这个样了?
  1. <style type="text/css">
  2. #level1st {
  3.         position: relative;
  4.         width:1100px;
  5.         text-align:center;
  6.         padding:50px;margin:100px 0 32px -240px;
  7.         background:url(https://z3.ax1x.com/2021/06/28/Rtl1ld.jpg);
  8. }
  9. #level2nd {
  10.         padding:10px;
  11.         background:url(https://z3.ax1x.com/2021/06/28/RtllSH.jpg);
  12.         border-left-color:#efc09a;
  13.         border-top-color: #efc09a;
  14.         border-style:solid;
  15.         border-width:thin;
  16.         border-right-color: #7b5640;
  17.         border-bottom-color:#7b5640;
  18.         width:auto;
  19. }

  20. #level3rd {
  21.         border-width:thin;
  22.         text-align:center;
  23.         border-style:solid;width:auto;
  24.         /*border-left-color:#7b5640;
  25.         border-top-color: #7b5640;
  26.         border-right-color: #efc09a;
  27.         border-bottom-color:#efc09a;*/
  28.         border-color:#7b5640 #efc09a #efc09a #7b5640;
  29. }
  30. #level4th {
  31.         border-width:thin;
  32.         padding:10px;
  33.         background:url(http://zyx540303.3vfree.net/2020/tp/bk/sj/22819833_180.jpgg);
  34.         border-left-color:#efc09a;
  35.         border-top-color:#efc09a;
  36.         border-style:solid;
  37.         border-right-color:#7b5640;
  38.         border-bottom-color:#7b5640;
  39.         width:auto;
  40. }

  41. #contentLayer {
  42.         border-width:thin;
  43.         text-align:center;
  44.         border-style:solid;
  45.         border-left-color:#7b5640;
  46.         border-top-color:#7b5640;
  47.         width:auto;
  48.         border-right-color:#efc09a;
  49.         border-bottom-color:#efc09a;
  50. }
  51. </style>
  52. <div id="level1st">
  53. <div id="level2nd">
  54. <div id="level3rd">
  55. <div id="level4th">
  56. <div id="contentLayer">
  57. <img src="https://pic.imgdb.cn/item/6161a4bf2ab3f51d911f13c4.gif"></img>

  58. </div>
  59. </div>
  60. </div>
  61. </div>
  62. </div>
复制代码


发表于 2021-10-23 19:32 | 显示全部楼层


 楼主| 发表于 2021-10-23 19:36 | 显示全部楼层

老师,我为什么用不了这个边框?
 楼主| 发表于 2021-10-23 19:42 | 显示全部楼层
松柏一 发表于 2021-10-23 19:36 老师,我为什么用不了这个边框?
发表于 2021-10-23 19:45 | 显示全部楼层
松柏一 发表于 2021-10-23 19:42
#level1st {
        position: relative;
        width:1100px;

这不就挺好吗
        
下一页 发布主题 快速回复

手机版|公众号|小黑屋|可爱老人网

GMT+8, 2025-2-12 01:22

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表