vanilla-extract-css/vanilla-extract

Support @page (print media styles in general)

Open

#1,279 创建于 2024年1月22日

在 GitHub 查看
 (4 评论) (4 反应) (1 负责人)TypeScript (8,658 star) (231 fork)batch import
enhancementgood first issuehelp wanted

描述

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

贡献者指南