Is this CSS syntax exist and safe to use for all modern browsers.
footer ul.footer-menu li:not(:first-child):after
Is this CSS syntax exist and safe to use for all modern browsers.
footer ul.footer-menu li:not(:first-child):after
On
Yes.
:not 97.72% Global Browser support
:first-child 97.74% Global Browser support
:after 97.72% Global Browser support
You can always find out if you can use ... here
REF: https://caniuse.com/
Yes it works, see the snippet below.
And yes it is safe to use on all modern browsers. According to caniuse.com, the support is close to 98% around the world for generated content by pseudo-elements (
:after), for CSS 2.1 selectors (:first-child) and CSS 3 selectors (:not).