Adding CSS4 support in Anki

I wanted to create a note type which included a not selector in CSS with multiple exclusions.
My code worked in AnkiDroid but not in Anki Desktop (Windows).
I read online that multiple exclusions in not selector work in CSS4 and not in CSS3.
So, I think that Anki uses CSS3 and I request you to upgrade it to CSS4.

Updates to the web views in Anki come with Qt updates. The bottle neck here is Qt. Anki will soon update to Qt6, which also brings a more up-to-date web view (having more features like arguments lists for :not).

1 Like

Thanks for the quick response. Kindly also tell the approximate time when Anki will update to Qt6.

You can follow the process here.

1 Like