![]()
Quite a simple technique: use :before and :after to inject two colored panels, each taking up 50% of the height. Then lay your inverted icons on top of them, and presto.
Icons Filling Effect →
Icons Filling Effect Demo →
If you like this, you’ll definitely like these too: