I'm having issues with implementing a flex button component:
I have applied a CSS style to button and set border-color to, say #555555.
So far, it works as expected.
Then, when my application is resized, the border of the button component becomes blurred and its width automatically changes from 1 pixel to 2 pixels, which doesn't look very well..
When I maximize the app again, after the border is blurred, the buttons' border becomes 1 pixel and looks nice.
The shift from 1px to 2px to 1px also happens when I slowly increase or decrease the width of the application.

What's causing this issue?