Support for CSS leader()
See original GitHub issueStumbled across this style in the in CSS draft and was hoping some cases might be easy-pickings (I don’t really know).
http://dev.w3.org/csswg/css-gcpm/#leaders
From that page
A leader […] is a repeating pattern used to visually connect content across horizontal spaces.
Example
1. Loomings.....................1
2. The Carpet-Bag...............9
3. The Spouter-Inn.............13
Issue Analytics
- State:
- Created 9 years ago
- Reactions:2
- Comments:5 (1 by maintainers)
Top Results From Across the Web
CSS: dot leaders - W3C
Typographers call “dot leaders” the rows of dots that connect columns in a table, such as this: ... Dots are the most common,...
Read more >Responsive TOC leader lines with CSS - markentier.tech
For the leaders we can use the ::after pseudo element. This has the advantage to not only add them without extra HTML markup,...
Read more >"css variables" | Can I use... Support tables for HTML5, CSS3 ...
"Can I use" provides up-to-date browser support tables for support of front-end web technologies on desktop and mobile ... CSS Environment Variables env()....
Read more >CSS Dot Leaders - CodePen
CSS only dot leaders styled intelligently with SASS + fancy HR rules using CSS. RE: http://www.w3.org/Style/Examples/007/leaders.en.html...
Read more >Create leading dots in CSS - Stack Overflow
This is based on nootrope's excellent solution on this page. Their "leaders" class can be re-added if required. ul{ padding: 0; overflow- ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
That’s a nice workaround @dannyniu , it looks especially nice with a border width of 0.4.
I’ve used the solution suggested here: https://www.w3.org/Style/Examples/007/leaders.en.html It’s visually closer to what tables of content usually look like.
Right now I simulate the effect with something similar to this: