bulma-print
Advanced tools
Comparing version
{ | ||
"name": "bulma-print", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Extends the Bulma CSS framework with additional classes suitable for printing", | ||
"main": "index.js", | ||
"main": "bulma-print.scss", | ||
"sass": "bulma-print.scss", | ||
"style": "css/bulma-print.css", | ||
"repository": { | ||
@@ -7,0 +9,0 @@ "type": "git", |
# bulma-print | ||
 | ||
 | ||
 | ||
 | ||
 | ||
[](https://www.jsdelivr.com/package/npm/bulma-print) | ||
Extends the [Bulma CSS framework](https://bulma.io/) with additional classes and styles suitable for printing. | ||
## Install | ||
As with Bulma, you can either use the pre-compiled `.css` file or install the `.sass` files from the NPM package. | ||
## Using a CDN (without installation) | ||
Import the CSS file directly from [jsDelivr](https://www.jsdelivr.com/package/npm/bulma-print). just after Bulma: | ||
```html | ||
<!--index.html--> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.9.4/css/bulma.min.css"><!--the Bulma CSS--> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma-print@1.0.0/css/bulma-print.css"><!--add bulma-print.css--> | ||
``` | ||
## Installing from NPM | ||
```sh | ||
@@ -16,6 +35,17 @@ npm install bulma-print --save-dev | ||
Include the `bulma-print.scss` file into your Sass chain, just after Bulma: | ||
Now you can either either use the pre-compiled `bulma-print.css` file: | ||
```html | ||
<!--index.html--> | ||
<link rel="stylesheet" href="css/main.css"><!--the Bulma CSS--> | ||
<link rel="stylesheet" href="./node_modules/bulma-print/css/bulma-print.css"><!--add bulma-print.css--> | ||
``` | ||
_or_ | ||
include the `bulma-print.scss` file into your Sass chain: | ||
```scss | ||
@import "../node_modules/bulma/bulma"; | ||
//main.scss | ||
@import "../node_modules/bulma/bulma"; //the bulma.scss | ||
@import "../node_modules/bulma-print/bulma-print"; //add bulma-print.scss | ||
@@ -22,0 +52,0 @@ ``` |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
14273
13.59%11
10%145
26.09%