Open the bottom html in firefox, you can see that the right and bottom borders are missing, but Chrome / IE is good, is it a bug in firefox, or can I use some other method to make it look the same with Chrome / IE?
<!DOCTYPE html>
<html>
<head>
<style>
* {font-size:20px}
div
{
width:400px;
height:400px;
background-color:lightgreen;
border:1px solid black;
transform-origin:0 0;
-moz-transform-origin:0 0;
-ms-transform-origin:0 0;
-webkit-transform-origin:0 0;
transform:scale(0.7);
-moz-transform:scale(0.7);
-ms-transform:scale(0.7);
-webkit-transform:scale(0.7);
}
</style>
</head>
<body style='margin:10px;padding:10px'><div>Hello. This is a DIV element.</div>
</body>
</html>
source
share