De Wiki @ Brest
Ligne 5 : | Ligne 5 : | ||
overflow:hidden; /* this is important */ | overflow:hidden; /* this is important */ | ||
border:1px solid #ccc; | border:1px solid #ccc; | ||
+ | width: 170px; | ||
} | } | ||
/* input values to crop the image: top, right, bottom, left */ | /* input values to crop the image: top, right, bottom, left */ |
Version du 11 juillet 2013 à 12:25
{{#css: .crop{ float:left; margin:.5em 10px .5em 0; overflow:hidden; /* this is important */ border:1px solid #ccc; width: 170px; } /* input values to crop the image: top, right, bottom, left */ .crop img{ margin:-20px -15px -40px -55px; } }}
| ||||
|
[edit] Description: Arguments:
Usage: |