Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
109 views
in Technique[技术] by (71.8m points)

Bootstrap with horizontal strikethrough line

I'm looking to use bootstrap to create 6 columns with a dot in each that is connected by a line ( as you can see below )

enter image description here

Is this possible with bootstrap? I can get the dots to sit centrally within the div but I have no idea how to get the horizontal line through the middle.

Here is what I have so far.

<div class="row">
    <div class="col-md-12 text-center NavDots">
        <div class="col-md-2 text-center NavItemActive"><span class="dotActive"></span><span class="dotSpacer"></span></div>
        <div class="col-md-2 text-center NavItem"><span class="dot"></span><span class="dotSpacer"></span></div>
        <div class="col-md-2 text-center NavItem"><span class="dot"></span><span class="dotSpacer"></span></div>
        <div class="col-md-2 text-center NavItem"><span class="dot"></span><span class="dotSpacer"></span></div>
        <div class="col-md-2 text-center NavItem"><span class="dot"></span><span class="dotSpacer"></span></div>
        <div class="col-md-2 text-center NavItem"><span class="dot"></span><span class="dotSpacer"></span></div>
    </div>
</div>

.dot {
    height: 25px;
    width: 25px;
    background-color: #8C8C8C;
    border-radius: 50%;
    display: inline-block;
  }
question from:https://stackoverflow.com/questions/65875973/bootstrap-with-horizontal-strikethrough-line

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...