mixins-sass
Advanced tools
Comparing version 1.0.4 to 1.1.0
{ | ||
"name": "mixins-sass", | ||
"version": "1.0.4", | ||
"version": "1.1.0", | ||
"description": "a sass mixins library", | ||
@@ -5,0 +5,0 @@ "main": "src/mixins.scss", |
@@ -266,3 +266,3 @@ # mixins-sass [![mixins-sass](https://img.shields.io/npm/v/mixins-sass.svg?style=flat-square)](https://www.npmjs.com/package/mixins-sass) [![mixins-sass](https://img.shields.io/npm/dt/mixins-sass.svg)](https://www.npmjs.com/package/mixins-sass) | ||
移动端`1像素`方案 | ||
移动端`1像素`方案,通过`background-image`渐变色实现 | ||
@@ -272,3 +272,4 @@ ```scss | ||
* @param $color | ||
* @param $direction: top bottom left right vertical all radius, default: all | ||
* @param $direction: top bottom left right vertical all, default: all | ||
* @param $pseudo: after before, default: after | ||
*/ | ||
@@ -278,4 +279,17 @@ .border-l { | ||
} | ||
.border-radius { | ||
@include onepx(#eee, radius, 2px); | ||
``` | ||
**onepx-scale** | ||
通过`transform`实现,支持圆角 | ||
```scss | ||
/** | ||
* @param $color | ||
* @param $direction: top bottom left right vertical all radius, default: all | ||
* @param $pseudo: after before, default: after | ||
* @param $radius default: 1px | ||
*/ | ||
.border-r { | ||
@include onepx-scale(#eee, radius, after, 2px); | ||
} | ||
@@ -282,0 +296,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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
37704
465