|
From: Raymond T. <toy...@gm...> - 2025-07-11 15:05:51
|
On 7/11/25 7:38 AM, Stavros Macrakis wrote: > Perplexity says: > > how do i write a CSS selector that only applies to class B within class A? Thanks! I also asked chatgpt. It says I can use ".example.user-maxima .example-preformatted" and that does seem to work. Only the things I marked as maxima are highlighted. Nothing else is. While using the browser developer tools, I noticed that the blue background around examples always has the width of the (narrow) page width. That's kind of ugly if the example code extends past the width. I think we should make the background the width of the example text. Here's an example of what I see: ​ |