mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-16 12:32:39 +00:00
Rework Corner snippet and CSS to allow free rotation
This commit is contained in:
@@ -13,11 +13,12 @@ module.exports = {
|
||||
|
||||
corner : ()=>{
|
||||
return dedent`
|
||||
{{imageMaskCorner${_.random(1, 8)},--offset:0cm,bottom,left
|
||||
{{imageMaskCorner${_.random(1, 8)},--offsetX:0%,offsetY:0%
|
||||
{height:100%}
|
||||
}}
|
||||
<!-- Use offset to shift the edge up or down.
|
||||
Use top, bottom, left, and right to select a corner -->\n\n`;
|
||||
<!-- Use --offsetX to shift the mask left or right (you can use cm instead of %)
|
||||
Use --offsetY to shift the mask up or down
|
||||
Use --rotation to set rotation angle in degrees. -->\n\n`;
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user