Git Product home page Git Product logo

card-print's Introduction

Card Print CSS

Stylesheet for printing cards, labels, vignettes

This CSS file is designed to print your own CSS formatted cards, vignettes, labels. You can add .page and .card elements to your document to create your print layout.

Installation

Import the stylesheet to your HTML document.

<link rel="stylesheet" href="path/to/card-print.css">

Usage

Add your cards to pages and print through your browser's print dialog.

<div class="page">
  <div class="card"></div>
  <div class="card"></div>
  <div class="card"></div>
  <div class="card"></div>
</div>

You can configure your pages, cards and layout with the following CSS variables:

:root {
  --card-width: 2.5in;
  --card-height: 3.5in;

  --page-width: 8.5in;
  --page-height: 11in;
  --page-margin: 0.25in;

  --col-count: 2;
  --row-count: 2;
}

When printing, make sure to set the page size to the same as you specified with the variables, and to set the margins to none.

Contributing

All ideas, recommendations, bug reports, pull requests are welcome. ๐Ÿ˜„

card-print's People

Contributors

vimtaai avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.