Skip to main content

Autumn Sale Flyer

A two-page A4 sale flyer for an outdoor shop, its text bound from data, that shows the ways a block can be moved, turned or slanted away from its place in the flow.

  • Headline and roundel. The headline sits on an orange band slanted by a skew transform, and a roundel with position: "fixed" on page 1 is turned by rotate: -12 over the corner of the hero photo. The roundel is the offer-roundel component, its two lines passed as params.
  • Hero photo. It is placed as an svg image with preserveAspectRatio: "slice", so it fills its banner without stretching, under a scrim carrying the strapline: a linearGradient whose stops run from rgba(42, 14, 5, 0) to 85 % dark, so the photo fades into it.
  • This week's picks. Three columns, each a product photo under a slanted SAVE tag, the sale price, and the old price struck through with [s]. Each photo and its alternate text come from the data, so the same flyer prints next week's picks.
  • Notes. A ribbon slanted with skewX, then three notes in a row, one moved down and right and one up and left with position: "relative", the third tilted with rotate.
  • Back page. A photo banner, the shops in a table bound from data, an svg map of the three towns with a pin on each, the offer in three numbered steps, and an Offer ends stamp fixed to page 2.
  • Coupon. Inside a dashed border, the sale code as a QR code and a Code 128 over its printed value.
  • Archival and accessible. Claimed and granted as PDF/A-4 and PDF/UA-2.

A DOCX carries the flow and the drawings; a slant, a turn and a nudge are reported and left out there, since Word has no equivalent for them on a paragraph.

Features used: PDF/A-4, PDF/UA-2 conformance, columns, tables, SVG, images, barcodes (code128, qrcode), data binding, components