Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mixins-sass

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mixins-sass - npm Package Compare versions

Comparing version 1.0.4 to 1.1.0

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc