My CSS3 buttons do not display correctly in certain use cases. In FF and Safari, they display perfectly, but in Chrome the left border becomes thicker, and when you hover over them, the fill color does not fill 100% of the area. See a working example: http://jsfiddle.net/3x4zc8tq/3/ How to fix it?
.center-wrapper {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
}
.center-wrapper .center {
position: relative;
overflow: hidden;
top: 50%;
-webkit-transform: translateY(-50%);
-ms-transform: translateY(-50%);
transform: translateY(-50%);
}
Tried and tested methods like below do not work for me:
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
transform: translateZ(0);
source
share