CSS - Print

About

Print is a media type Intended for paged material and for documents viewed on screen in print preview mode.

Example

When creating stylesheet for this media, the point unit is generally used for length definition in order to get a perfect positioning of the element.

@media print {
    body { font-size: 10pt }
}





Discover More
Boxdim
CSS - (Length) Unit

CSS The unit in CSS is the second element of a length that defines the type of the length number. Example: px, em, etc ... The recommended unit scales are: Screen: rem, em, px, % Print:...



Share this page:
Follow us:
Task Runner