tachyons-box-shadow
Advanced tools
Comparing version 1.1.3 to 2.0.0
{ | ||
"name": "tachyons-box-shadow", | ||
"description": "box-shadow CSS module for Tachyons", | ||
"version": "1.1.3", | ||
"version": "2.0.0", | ||
"author": { | ||
@@ -24,3 +24,3 @@ "name": "mrmrs", | ||
"devDependencies": { | ||
"tachyons-cli": "^0.6.1", | ||
"tachyons-cli": "^1.0.2", | ||
"watch": "^0.19.1" | ||
@@ -27,0 +27,0 @@ }, |
@@ -1,2 +0,2 @@ | ||
# tachyons-box-shadow 1.0.0 | ||
# tachyons-box-shadow 2.0.0 | ||
@@ -7,3 +7,3 @@ box-shadow CSS module for Tachyons | ||
297 | 20 | 20 | ||
296 | 20 | 20 | ||
---|---|--- | ||
@@ -20,4 +20,9 @@ bytes | selectors | declarations | ||
Learn more about using css installed with npm: | ||
* https://webpack.github.io/docs/stylesheets.html | ||
* https://github.com/defunctzombie/npm-css | ||
#### With Git | ||
http: | ||
``` | ||
@@ -27,2 +32,7 @@ git clone https://github.com/tachyons-css/tachyons-box-shadow | ||
ssh: | ||
``` | ||
git clone git@github.com:tachyons-css/tachyons-box-shadow.git | ||
``` | ||
## Usage | ||
@@ -47,2 +57,10 @@ | ||
##### CDN | ||
The easiest and most simple way to use the css is to use the cdn hosted version. Include it in the head of your html with: | ||
``` | ||
<link rel="stylesheet" href="http://npmcdn.com/tachyons-box-shadow@2.0.0/css/tachyons-box-shadow.min.css" /> | ||
``` | ||
##### Locally | ||
The built CSS is located in the `css` directory. It contains an unminified and minified version. | ||
@@ -78,3 +96,3 @@ You can either cut and paste that css or link to it directly in your html. | ||
.shadow-5 { box-shadow: 4px 4px 8px 0px rgba( 0, 0, 0, 0.2 ); } | ||
@media screen and (min-width: 48em) { | ||
@media screen and (min-width: 30em) { | ||
.shadow-1-ns { box-shadow: 0px 0px 4px 2px rgba( 0, 0, 0, 0.2 ); } | ||
@@ -86,3 +104,3 @@ .shadow-2-ns { box-shadow: 0px 0px 8px 2px rgba( 0, 0, 0, 0.2 ); } | ||
} | ||
@media screen and (min-width: 48em) and (max-width: 64em) { | ||
@media screen and (min-width: 30em) and (max-width: 60em) { | ||
.shadow-1-m { box-shadow: 0px 0px 4px 2px rgba( 0, 0, 0, 0.2 ); } | ||
@@ -94,3 +112,3 @@ .shadow-2-m { box-shadow: 0px 0px 8px 2px rgba( 0, 0, 0, 0.2 ); } | ||
} | ||
@media screen and (min-width: 64em) { | ||
@media screen and (min-width: 60em) { | ||
.shadow-1-l { box-shadow: 0px 0px 4px 2px rgba( 0, 0, 0, 0.2 ); } | ||
@@ -119,3 +137,3 @@ .shadow-2-l { box-shadow: 0px 0px 8px 2px rgba( 0, 0, 0, 0.2 ); } | ||
MIT | ||
ISC | ||
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
9769
132