|
32#
楼主 |
发表于 2023-7-7 09:01:24
|
只看该作者
来自 浙江
可直接在帖子中引用的样式和代码:
- <section style="margin: 10px auto; display: flex; align-items: center;">
- <section style="width: 50%;box-sizing:border-box;max-width: 50% !important;" data-width="50%">
- <section style="max-width: 100% !important;width: 100%;height: 3px;border-top: 1px solid #296cd4;border-bottom: 1px solid #ffc149;box-sizing:border-box;" data-width="100%"></section>
- </section>
- <section style="flex-shrink: 0;padding: 0 5px;box-sizing:border-box;">
- <section class="assistant" style="width: 25px;box-sizing:border-box;">
- <img class="assistant" style="vertical-align:inherit;width: 100%; display: block;box-sizing:border-box;max-width: 100% !important;" src="/upimages/ab42.gif" data-width="100%" draggable="false" data-ratio="1.1626984126984128" data-w="252"/>
- </section>
- </section>
- <section style="width: 50%;box-sizing:border-box;max-width: 50% !important;" data-width="50%">
- <section style="max-width: 100% !important;width: 100%;height: 3px;border-top: 1px solid #296cd4;border-bottom: 1px solid #ffc149;box-sizing:border-box;" data-width="100%"></section>
- </section>
- </section>
复制代码
分割线样式2:
- <section style="margin: 20px auto;">
- <section style="width: 100%;box-sizing:border-box;max-width: 100% !important;" data-width="100%">
- <svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewbox="0 0 560 30" style="enable-background:new 0 0 560 30;display:inline-block" xml:space="default">
- <g>
- <polygon style="fill:#b69a82;" points="0,29.3 0.7,30 29,0.7 28.3,0 "></polygon>
- <polygon style="fill:#b69a82;" points="14.4,29.3 15.1,30 43.3,0.7 42.6,0 "></polygon>
- <polygon style="fill:#b69a82;" points="28.7,29.3 29.4,30 57.7,0.7 57,0 "></polygon>
- <polygon style="fill:#b69a82;" points="43.1,29.3 43.8,30 72,0.7 71.3,0 "></polygon>
- <polygon style="fill:#b69a82;" points="57.4,29.3 58.1,30 86.4,0.7 85.7,0 "></polygon>
- <polygon style="fill:#b69a82;" points="71.8,29.3 72.5,30 100.7,0.7 100,0 "></polygon>
- <polygon style="fill:#b69a82;" points="86.1,29.3 86.8,30 115.1,0.7 114.4,0 "></polygon>
- <polygon style="fill:#b69a82;" points="100.5,29.3 101.2,30 129.5,0.7 128.7,0 "></polygon>
- <polygon style="fill:#b69a82;" points="114.8,29.3 115.5,30 143.8,0.7 143.1,0 "></polygon>
- <polygon style="fill:#b69a82;" points="129.2,29.3 129.9,30 158.2,0.7 157.4,0 "></polygon>
- <polygon style="fill:#b69a82;" points="143.5,29.3 144.2,30 172.5,0.7 171.8,0 "></polygon>
- <polygon style="fill:#b69a82;" points="157.9,29.3 158.6,30 186.9,0.7 186.2,0 "></polygon>
- <polygon style="fill:#b69a82;" points="172.2,29.3 172.9,30 201.2,0.7 200.5,0 "></polygon>
- <polygon style="fill:#b69a82;" points="186.6,29.3 187.3,30 215.6,0.7 214.9,0 "></polygon>
- <polygon style="fill:#b69a82;" points="200.9,29.3 201.6,30 229.9,0.7 229.2,0 "></polygon>
- <polygon style="fill:#b69a82;" points="215.3,29.3 216,30 244.3,0.7 243.6,0 "></polygon>
- <polygon style="fill:#b69a82;" points="229.6,29.3 230.3,30 258.6,0.7 257.9,0 "></polygon>
- <polygon style="fill:#b69a82;" points="244,29.3 244.7,30 273,0.7 272.3,0 "></polygon>
- <polygon style="fill:#b69a82;" points="258.3,29.3 259,30 287.3,0.7 286.6,0 "></polygon>
- <polygon style="fill:#b69a82;" points="272.7,29.3 273.4,30 301.7,0.7 301,0 "></polygon>
- <polygon style="fill:#b69a82;" points="287,29.3 287.7,30 316,0.7 315.3,0 "></polygon>
- <polygon style="fill:#b69a82;" points="301.4,29.3 302.1,30 330.4,0.7 329.7,0 "></polygon>
- <polygon style="fill:#b69a82;" points="315.7,29.3 316.4,30 344.7,0.7 344,0 "></polygon>
- <polygon style="fill:#b69a82;" points="330.1,29.3 330.8,30 359.1,0.7 358.4,0 "></polygon>
- <polygon style="fill:#b69a82;" points="344.4,29.3 345.1,30 373.4,0.7 372.7,0 "></polygon>
- <polygon style="fill:#b69a82;" points="358.8,29.3 359.5,30 387.8,0.7 387.1,0 "></polygon>
- <polygon style="fill:#b69a82;" points="373.1,29.3 373.8,30 402.1,0.7 401.4,0 "></polygon>
- <polygon style="fill:#b69a82;" points="387.5,29.3 388.2,30 416.5,0.7 415.8,0 "></polygon>
- <polygon style="fill:#b69a82;" points="401.8,29.3 402.6,30 430.8,0.7 430.1,0 "></polygon>
- <polygon style="fill:#b69a82;" points="416.2,29.3 416.9,30 445.2,0.7 444.5,0 "></polygon>
- <polygon style="fill:#b69a82;" points="430.5,29.3 431.3,30 459.5,0.7 458.8,0 "></polygon>
- <polygon style="fill:#b69a82;" points="444.9,29.3 445.6,30 473.9,0.7 473.2,0 "></polygon>
- <polygon style="fill:#b69a82;" points="459.3,29.3 460,30 488.2,0.7 487.5,0 "></polygon>
- <polygon style="fill:#b69a82;" points="473.6,29.3 474.3,30 502.6,0.7 501.9,0 "></polygon>
- <polygon style="fill:#b69a82;" points="488,29.3 488.7,30 516.9,0.7 516.2,0 "></polygon>
- <polygon style="fill:#b69a82;" points="502.3,29.3 503,30 531.3,0.7 530.6,0 "></polygon>
- <polygon style="fill:#b69a82;" points="516.7,29.3 517.4,30 545.6,0.7 544.9,0 "></polygon>
- <polygon style="fill:#b69a82;" points="531,29.3 531.7,30 560,0.7 559.3,0 "></polygon>
- </g>
- </svg>
- </section>
- </section>
复制代码
分割线样式3:
- <section style="text-align: center; margin: 10px auto;">
- <section style="display: flex;align-items: center;">
- <section class="assistant" style="width: 100%;height: 1px;border-top: 1px dashed #ffbec2; flex: 1;box-sizing:border-box;max-width: 100% !important;" data-width="100%"></section>
- <section class="assistant" style="width: 30px;margin: 0 5px;box-sizing:border-box;">
- <img class="assistant" style="vertical-align:inherit;width: 100%; display: block;box-sizing:border-box;max-width: 100% !important;" src="/upimages/WdpZg.gif" data-width="100%" draggable="false" data-ratio="0.9973544973544973" data-w="378"/>
- </section>
- <section class="assistant" style="width: 100%;height: 1px;border-top: 1px dashed #ffbec2; flex: 1;box-sizing:border-box;max-width: 100% !important;" data-width="100%"></section>
- </section>
- </section>
复制代码
备注说明:
中间图标可换为:
http://gamart.net/upimages/WdpZg.gif ;http://gamart.net/upimages/a4069.png; http://gamart.net/upimages/9569.png; http://gamart.net/upimages/a4069.png;http://gamart.net/upimages/10cd.png;
http://gamart.net/upimages/d82f8.gif ; http://gamart.net/upimages/a2ddf.gif
等等图标,也可从外部引入小图片文件。
分割样式4:
- <section style="margin: 10px auto; transform-style: preserve-3d; padding: 0px 0px 13px; box-sizing: border-box;">
- <section style="display: flex; justify-content: center; transform: translateZ(10px); -webkit-transform: translateZ(10px); -moz-transform: translateZ(10px); -o-transform: translateZ(10px);">
- <section style="background-color: #5c92ec; display: flex;">
- <section style="flex-shrink: 0;">
- <section style="width: 0; height: 1px; border-top: 10px solid #ffffff; border-right: 10px solid transparent; box-sizing: border-box;"></section>
- <section style="width: 0; height: 1px; border-bottom: 10px solid #f4d79d; border-left: 10px solid transparent; margin: -10px 0 0; box-sizing: border-box;"></section>
- </section>
- <section style="font-size: 16px; color: #ffffff; text-align: center; padding: 4px 5px; box-sizing: border-box;">
- <strong>NO.</strong><strong class="autonum" data-original-title="" title="">1</strong>
- </section>
- </section>
- </section>
- <section style="max-width: 100% !important; width: 100%; border-top: 1px solid #5c92ec; margin: -15px 0 0; box-sizing: border-box; transform: translateZ(5px); -webkit-transform: translateZ(5px); -moz-transform: translateZ(5px); -o-transform: translateZ(5px);" data-width="100%"></section>
- </section>
复制代码
分割样式5:
- <section style="margin: 10px auto;text-align: center;">
- <section style="display: flex;justify-content: center;align-items: center;">
- <section class="assistant" style="height: 1px;background: #697af1;flex: 1;"></section>
- <section style="font-size: 14px;letter-spacing: 1.5px;padding: 0px 4px;color: #697af1;padding: 0px 7px;box-sizing:border-box;"></section>
- <section class="assistant" style="height: 1px;background: #697af1;flex: 1;"></section>
- </section>
- <section style="margin-top: -5px;">
- <section style="width: 10px; height: 10px; border-right: 1px solid #697af1; border-bottom: 1px solid #697af1; margin: 0px auto;box-sizing:border-box;transform: rotate(45deg);-webkit-transform: rotate(45deg);-moz-transform: rotate(45deg);-o-transform: rotate(45deg);"></section>
- </section>
- <section style="width: 100%;height: 12px;background: #f4f6fe;margin-top: -11px;box-sizing:border-box;max-width: 100% !important;" data-width="100%"></section>
- </section>
复制代码
|
|