blob: 85ca9d368a270c45752aaeb43ea336f40da02647 (
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 xywh() : 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>
|