我使用引導3的網格列系統創建食物菜單,並且我嘗試在菜單項和價格之間創建點領導。我有點工作,但我似乎無法讓點領導者延伸到該項目的右側,而是打破了界限,並繼續在菜單下。 這裏就是我得到:使用點引導器與自舉網格的食物菜單
我在CSS試圖
display:block; display:inline-block; display:inline;
。我似乎能夠從打破阻止它的唯一辦法是縮短
content: '...'
有沒有方法可以讓我得到這個工作,或者說我已經把內容以表格或使用列表中的項目?
這裏是我的代碼的其餘部分,如果有人可以幫助,我將不勝感激,謝謝。
<div class="row>
<div class="col-xs-6">
<p class="item dots">Cheese</p>
<p class="item dots">White</p>
<p class="item dots">Special</p>
</div>
<div class=col-xs-2>
<p class="item">$8.99</p>
<p class="item">$9.99</p>
<p class="item">$13.50</p>
</div>
</div class=col-xs-2>
<p class="item">$10.99</p>
<p class="item">$11.99</p>
<p class="item">$15.50</p>
</div>
</div class=col-xs-2>
<p class="item">$12.99</p>
<p class="item">$13.99</p>
<p class="item">$17.50</p>
</div>
</div>
.dots::after {
display: inline-flex;
white-space: nowrap;
overflow: hidden;
text-overflow: clip;
content:
" . . . . . . . . . . . . . . . . . . . . "
". . . . . . . . . . . . . . . . . . . . "
". . . . . . . . . . . . . . . . . . . . "
". . . . . . . . . . . . . . . . . . . . "
}
嗨,感謝您的幫助我發佈了一個後續問題,如果您有興趣。 [鏈接](http://stackoverflow.com/questions/43175775/using-dot-leaders-for-a-food-menu-with-flex-follow-up) – Coffeeteer