10

看到一些树型控件,展开父节点后,父节点和子节点之间,有 dot line 连接,这个是如何...

 3 years ago
source link: https://www.v2ex.com/t/793749
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

V2EX  ›  React

看到一些树型控件,展开父节点后,父节点和子节点之间,有 dot line 连接,这个是如何实现的?

  yazoox · 1 小时 7 分钟前 · 337 次点击

不知道应该放在 css 还是 react (我司开发,主要用的 react )分类里面。

如图
Tree.png

想请教一下,这个 dot-lines (还带转弯的有竖有横),是怎么画出来的?直接通过 css 么?


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK