Line of dots between items

前端 未结 6 1313
别那么骄傲
别那么骄傲 2021-02-14 17:54

Restaurant web site and menu. I need to get \"line of dots\" between menu item and price. I need to get it without writing dots manually one by one. This feature should work aut

6条回答
  •  执笔经年
    2021-02-14 18:53

    You can use css for this.

    If you just add

    border: thick dotted;
    

    To the appropriate section of css. This will create a dotted boarder around the whole element it is applied to. If you wish to have just the dots below the element, then use:

    border-bottom: thick dotted;
    

    You can also use think dotted or just dotted if you want different sizes.

    You can then add orange to get the color:

    border-bottom: thick dotted orange;
    

    Hope this helps :)

提交回复
热议问题