0

I am reading a codebase and trying to replicate it part by part. However I am getting a css parsing error for the following css line:

#pp:not([class*="pelwqu"]) #s199 {
  background-image: url("https://bgnmypdu.helldomain.oy.ne.ro");
}

Additionally, I did not get the components of this line. Can you explain which part is needed for what and why? Thank you.

2
  • What is giving your the parsing error and what exactly is the error message? There is nothing wrong with the CSS you have provided except I can't see that URL. If you still have problems please provide a runnable snippet so we can test for ourselves. Commented Oct 3, 2022 at 5:25
  • ...and 'I did not get the components of this line' - there is no line in your question and by 'get' do you mean 'understand'? Commented Oct 3, 2022 at 5:27

1 Answer 1

1

This bit is basically correct although using something like this complex is a hackish solution at best and should not be encouraged.

It's applying a background image to an element with id="s199" that is inside of an element that has id="pp" but doesn't have a class that contains the string "pelwqu".

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.