How to make a flowchart/diagram using only HTML and CSS [closed]

假如想象 提交于 2019-12-31 09:12:27

问题


I need to make a really complicated diagram for a website, in which the hierarchy will be a bit messy: arrows will go up and down, sometimes an element will point to several others, and sometimes there will be several elements pointing to the same one. I have found this method, but it doesn't allow more than one parent for an element and therefore won't do the trick in this case.

It has to be done in HTML/CSS, because my intention is to add some Javascript to change the content of the blocks dinamically.

This is an example of the level of complexity I need to achieve:


回答1:


You might want to take a look at this

http://thecodeplayer.com/walkthrough/css3-family-tree




回答2:


Another to look for is SpaceTree example by "Nicolas Garcia Belmonte" but not a pure CSS solution. It is compatible with IE and most of browsers. Definitely worth a try.



来源:https://stackoverflow.com/questions/15567278/how-to-make-a-flowchart-diagram-using-only-html-and-css

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!