Episode 09 game · Kitsu · Fire

Banish the Important Demon

Kai’s button CSS loads last and still loses. Feel the !important siege grow, lower the heavy header selector instead, then prove it in a real browser cascade with zero !important.

KitsuEvery selector has a weight, Kai. Load your button styles and watch what the header does to them.
09Seal 09
kai.app
Kitsu’s scales every rule that sets color, with its weight

    1 · Feel the siege

    This page runs on a real browser cascade. Do it Kai’s way, one step at a time, and watch the button and the demon.

    Weigh it: ID · CLASS · TYPE

    #site-header .nav a is 1-1-1. .btn-cta is 0-1-0. The first column that differs wins.

    Order only breaks ties

    Loading last helps only when two selectors score exactly the same.

    Lower, don’t shout

    :where() counts as zero. Layers order whole groups. !important just starts a siege.