Template:CSS image crop: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
Line 10: | Line 10: | ||
<div style=" | <div style=" | ||
position: absolute; | position: absolute; | ||
clip: rect( | clip: rect(0px,32px,{{#expr:({{{oTop}}}-1)*32}}px,0px); | ||
"> | "> | ||
Line 18: | Line 18: | ||
</div> | </div> | ||
</onlyinclude> | </onlyinclude> | ||
<nowiki>clip:rect(0px,100px,100px,0px);</nowiki> for a 100x100 image to totally show, so for our atlasses that would be:<br> | |||
<nowiki>clip:rect(0px,32px,32000px,0px);</nowiki> |
Revision as of 15:47, 14 May 2016
clip:rect(0px,100px,100px,0px); for a 100x100 image to totally show, so for our atlasses that would be:
clip:rect(0px,32px,32000px,0px);