Difference between revisions of "Template:CSS image crop"
From Emps-World Wiki
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); |
"> | "> | ||
Revision as of 16:00, 14 May 2016
</div>