vanilla-extract-css/vanilla-extract

Support @page (print media styles in general)

Open

#1279 aperta il 22 gen 2024

Vedi su GitHub
 (4 commenti) (4 reazioni) (1 assegnatario)TypeScript (231 fork)batch import
enhancementgood first issuehelp wanted

Metriche repository

Star
 (8658 star)
Metriche merge PR
 (Merge medio 9g 22h) (13 PR mergiate in 30 g)

Descrizione

looking at how I can write this with vanilla-extract? thoughts?


.pagedjs_page {
  background: white;
  box-shadow: 10px 12px 30px 0 rgba(0, 0, 0, 0.1);
  margin: 1rem;

  @page {
    size: A4;

    @bottom-right {
      content: counter(page);
    }
  }
}

Originally posted by @airtonix in https://github.com/vanilla-extract-css/vanilla-extract/discussions/1275

Guida contributor