Flexible CSS triangles (SO) - pseudo-elements method