DEV Community

Kenny
Kenny

Posted on

2 1

CSS Family Tree


I am so fascinated by this code pen. Can anyone explain the css that creates this kind of tree? It seems so like magic to me.

Top comments (1)

Collapse
 
beefykenny profile image
Kenny

learned it was build using ::before and ::after

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more