This sample demonstrates how a developer can use the new CSS High Contrast Media Query and CSS High Contrast Adjust property to declare CSS styling rules that will only be applied in the context of High Contrast Mode.
Please place the system into High Contrast Mode.
Not High Contrast Aware Custom Button
High Contrast Aware Custom Button
Actual Button