copy codepen a bit better