29 lines
606 B
HTML
29 lines
606 B
HTML
<!DOCTYPE HTML>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
|
|
<style type="text/css" media="screen">
|
|
div {
|
|
-webkit-box-sizing: border-box;
|
|
}
|
|
.solid {
|
|
position: absolute;
|
|
width: 200px;
|
|
height: 200px;
|
|
background-color: green;
|
|
}
|
|
|
|
.opacity { opacity: .1; }
|
|
|
|
.preserve3d {
|
|
-webkit-transform: translateZ(0);
|
|
-webkit-transform-style: preserve-3d;
|
|
}
|
|
* { margin: 0; padding: 0; }
|
|
|
|
</style>
|
|
</head>
|
|
<div class="opacity solid preserve3d">123</div>
|
|
|
|
</html>
|