Skip to content

noahmay/page-size-CSS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Page size CSS

Page size CSS is a collection of CSS snippets to create HTML elements for pages.

Used for creating pages in HTML e.g. creating a printable web-based CV.

Installation

Download page.css manually.

Usage

include page.css in your <head> like this:

<link rel="stylesheet" href="page.css">

create an <page> element and set the size

<page size="A4">
    Some text here
</page>

you can also set the margin and layout

<page size="A4" margin="standard" layout="landscape">
    Some text here
</page>

All available page sizes:

  • A0 to A10
  • B0 to B10
  • C0 to C10
  • letter
  • half-letter
  • legal
  • junior-legal
  • ledger or tabloid

All available margins:

  • standard
  • thin
  • thick

All available layouts:

  • portrait (none)
  • landscape

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published