Psuedo Elements in React/JSX


React

Updated Jun 28th, 2021

Tried to use div menu-bar__middle combined with ::before and ::after versus having single empty div in html instead of three. This didn’t really work. I’m not sure if the problem was with the React/JSX ecosystem or the CSS Modules I was using out or the box with NextJS.

Not a huge deal but something I would like to learn more about.