I need help how to check in a if condition for a ::after
or ::before
inside a selected part of code. To manipulate a CSS attribute if it exists. For example:
if (::after || ::before == exists) {
// do something
}
don´t call it a duplicate, its not. please read carefully