Template:CSS image crop: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
Line 9: | Line 9: | ||
"> | "> | ||
<div style=" | <div style=" | ||
position: | position:absolute; | ||
clip: rect({{#expr:({{{oTop}}}-1)*32}}px,32px,{{#expr:({{{oTop}}})*32}}px,0px); | clip: rect(-{{#expr:({{{oTop}}}-1)*32}}px,32px,{{#expr:({{{oTop}}})*32}}px,0px); | ||
"> | "> | ||