css - 自定义 list Avada Wordpress

标签 css wordpress

我正在使用 Avada Wordpress 主题。

我想创建一个显示那种结果的 list

enter image description here

其中有一行文本(我知道如何让它出现)。

您知道如何自定义检查列表模块或其他模块或使用自定义 CSS 来获得此“line-bullet-point”吗?

谢谢

最佳答案

HTML

   <ul>
        <li>
          <span class='line'></span>
          <span class='circle'></span>
        </li>
        <li>
          <span class='circle'></span>
        </li>
    </ul>

CSS

        ul {
            list-style : none;
        }
        li{
            display : flex;
            flex-flow: row;
            min-height : 100px;
            position : relative;
        }

            span.circle {
                margin-right : 100px;
                text-align: center;
                width : 1em;
                height : 1em;
                border:1px solid red;
                background-color:#f3f5f6;
                border-radius : 50%;
                z-index : 100;
            }

            span.line {
                position : absolute;
                height : 100%;
                border : solid red 0.1em;
                top : 1em;
                left : 0.5em;
            }
            li:last-child span.line{
                display : none;   
            }

JSfiddle:http://jsfiddle.net/1yqw1y87/1/

关于css - 自定义 list Avada Wordpress,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40638833/

相关文章:

CSS:停止div推送内容

javascript - jQuery Firefly 效果在 WordPress 中不起作用

Wordpress vs Joomla vs Drupal - 我的客户的最终解决方案?

wordpress - IE 11 无法识别我网站上的边框图像

php - 使用媒体查询时如何显示不同尺寸的不同特色图片

php - 隐藏在 Woocommerce 中默认选择的具有唯一变体的可变产品下拉列表

html - 关于 CSS 选择器语法的问题

css - 如何在 asp :LinkButton? 中更改文本大小和粗体

javascript - JavaScript/CSS在单击网格时显示相应的div

javascript - Webpack JS模板字符串为背景图片生成内联CSS样式 : url()