Print

Spruce has some print-related styles. Nothing severe or fancy, but a set of minimal styles.

You can turn on basic print styles from the $settings map; set the print to true to turn it on.

@use 'sprucecss/scss/spruce' with (
  $settings: (
    'print': true,
  ),
);

Print-related variables.

You get the following with the print styles:

  • with the page-margin key (default value: 2cm), you can control the margin of the printed page.
  • With the hidden-elements key, you can hide elements from print view.
  • You get the URLs of the links after <a> elements.

Documentation

Learn about Spruce CSS through our extensive documentation.

Components

Explore our extensive UI library built with Spruce CSS.

Blog

Read about front-end development and concepts of Spruce CSS.

Find us on GitHub

Did you find a bug? Have an idea or a question? Please open an issue to help us develop the project.