| Post Au7btz57uHnyTx0SGW by [email protected] | |
| More posts by [email protected] | |
| Post #Au7ZVAX5zkeiqi80Ke by [email protected] | |
| 0 likes, 1 repeats | |
| Is a #CSS selector possible that targets all unordered lists where each `<li… | |
| Post #Au7ZytGqjtjs01hYNk by [email protected] | |
| 0 likes, 0 repeats | |
| @jscholes li:has(a:only-child)) {} ? | |
| Post #Au7ZytNEMAqKJogeKO by [email protected] | |
| 0 likes, 1 repeats | |
| @css That matches `<li>` elements directly that may appear inside a list … | |
| Post #Au7aPCXvhDVrJJEiwa by [email protected] | |
| 0 likes, 0 repeats | |
| @jscholes @css Expanding upon Temani's answer, maybe `li:not(li *):has(>… | |
| Post #Au7aPCdxKoKjc03XKy by [email protected] | |
| 0 likes, 1 repeats | |
| @chriskirknielsen Could you expand on why you think that would work? It also s… | |
| Post #Au7awMUTkCOLhzR00e by [email protected] | |
| 0 likes, 0 repeats | |
| @jscholes This would only work if the `<a>` elements were siblings.```css… | |
| Post #Au7awMbDL9mO2saNVY by [email protected] | |
| 0 likes, 1 repeats | |
| @knowler Sorry, not sure what you mean. If the `<a>`s were siblings, how… | |
| Post #Au7awP7XxupZrjjEBM by [email protected] | |
| 0 likes, 0 repeats | |
| @jscholes Oh, on re-reading, I think I might be misunderstanding. If it’s mea… | |
| Post #Au7btz57uHnyTx0SGW by [email protected] | |
| 0 likes, 0 repeats | |
| @jscholes @css Ah my bad, I read too fast. You want to find lists that look lik… | |
| Post #Au7btzCDTvTapwK7Jg by [email protected] | |
| 0 likes, 0 repeats | |
| @chriskirknielsen Possibly... that is way beyond my CSS level so I'll have … | |
| Post #Au7btzK10viNE7yLTM by [email protected] | |
| 0 likes, 1 repeats | |
| @jscholes @chriskirknielsen @css Its worth noting that :has() isn't support… | |
| Post #Au7enGrfgvyVTECfa4 by [email protected] | |
| 0 likes, 0 repeats | |
| @TheQuinbox @jscholes @css `:has()` has (heh!) been supported cross-browser, in… | |
| Post #Au7enGxhKWnNlv1TyS by [email protected] | |
| 0 likes, 1 repeats | |
| @chriskirknielsen @jscholes @css Sure, Firefox supports it, but you have to go … | |
| Post #Au7lcp0r5YYNsASnhI by [email protected] | |
| 0 likes, 1 repeats | |
| @TheQuinbox The latest Firefox ESR is 128. You're probably still on ESR 115… |