image-orientation-background-position.html (1169B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>CSS Images Module Level 3: image-orientation with background positions</title> 6 <link rel="author" title="Stephen Chenney" href="mailto:schenney@chromium.org"> 7 <link rel="help" href="https://drafts.csswg.org/css-images-3/#propdef-image-orientation"> 8 <link rel="match" href="reference/image-orientation-background-position-ref.html"> 9 <meta name="fuzzy" content="0-5;0-50"> 10 <style> 11 .exif-2 { 12 position: absolute; 13 top: 10px; 14 left: 10px; 15 width: 50px; 16 height: 50PX; 17 background-color: grey; 18 background-image: url(support/exif-orientation-2-ur.jpg); 19 background-repeat: no-repeat; 20 background-position: -30px -20px; 21 } 22 23 .exif-6 { 24 position: absolute; 25 top: 10px; 26 left: 70px; 27 width: 50px; 28 height: 50PX; 29 background-color: grey; 30 background-image: url(support/exif-orientation-6-ru.jpg); 31 background-repeat: no-repeat; 32 background-position: -20px -30px; 33 } 34 35 </style> 36 </head> 37 <body> 38 <div class="exif-2"> 39 </div> 40 <div class="exif-6"> 41 </div> 42 </body> 43 </html>