Commit 7b7ccacc authored by julien's avatar julien

added calculation for the @page size

parent 81622258
......@@ -47,7 +47,11 @@
/* @page height = height + bleed-top + bleed-bottom + trim-top + trim-bottom */
@page {
size: 140mm 180mm;
/* size: 140mm 180mm; */
/* calculation works */
size: calc(100mm + 5mm + 5mm + 15mm + 15mm) calc(140mm + 5mm + 5mm + 15mm + 15mm);
/* calculation with css custom properties dont work */
/* size: calc(var(--trim-outer) + var(--bleed-outer) + var(--width) + var(--bleed-inner) + var(--trim-inner)) calc(var(--trim-top) + var(--bleed-top) + var(--height) + var(--bleed-bottom) + var(--trim-bottom)); */
/* margin: 0; */
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment