Skip to navigation

Question:
How to create a half filled square with css?

Use simple algorithms as well as simple data structures.