2

My Chrome(v. 33.0.1750.152) is acting really weird with border width of some inputs.

Here's a Codepen demonstrating it: http://codepen.io/anon/pen/Dkadl.

I added the Increase margin.. and Decrease margin.. buttons to make it easier to see (click them to change margin-bottom property accordingly).

The margin-bottom property of .user-inputs seems to be affecting the border-width of my inputs as well as blurring other elements. I've only been able to see this bug in Chrome.

What's wrong?

edit: This is how it looks like for me: Default view Added 2px to margin-bottom
As you can see, elements get really blurry and the border-width of some elements is increased..

William Boman
  • 2,079
  • 5
  • 26
  • 39

1 Answers1

0

This is caused by the Translate 50%, on margins where it is not an integer (partial pixel), it makes the content blurry.

As answered on this similar question, add these to your #login-section block:

-webkit-font-smoothing: subpixel-antialiased;
-webkit-transform: translateZ(0) scale(1.0, 1.0);

See updated Codepen

Community
  • 1
  • 1
knighter
  • 1,137
  • 8
  • 13