Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<html>
<head>
<title>CSS Test (Transforms): Transformed caption contains fixed position elements reference.</title>
<link rel="author" title="Vladimir Levin" href="mailto:vmpstr@chromium.org">
<style>
body {
overflow: hidden;
}
.pad {
height: 50px;
}
.container {
transform: translateX(20px) rotate(45deg);
transform-origin: left;
}
.fixed {
position: fixed;
top: 15px;
left: 10px;
background-color: lightblue;
}
</style>
</head>
<body>
<div class='pad'></div>
<div class='container'>some text<div class='fixed'>fixed</div>
</div>
</body>
</html>