blob: b27a5b8f83c51b48f3b2008da3ec2ecbea4c1c6d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<!DOCTYPE html>
<html>
<title>CSS object-view-box on an element with rect() : ref</title>
<link rel="author" href="mailto:khushalsagar@chromium.org">
<link rel="help" href="https://drafts.csswg.org/css-images-4/#the-object-view-box">
<style>
.container {
width: 25px;
height: 50px;
overflow: hidden;
}
.default {
position: relative;
top: -50px;
left: -25px;
}
</style>
<div class="container">
<img class="default" src="support/exif-orientation-6-ru.jpg"></img>
</div>
|