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

postcss-button

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-button - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

2

package.json
{
"name": "postcss-button",
"version": "0.1.3",
"version": "0.1.4",
"description": "A PostCSS plugin to create buttons.",

@@ -5,0 +5,0 @@ "keywords": [

@@ -89,10 +89,27 @@ # postcss-button

If optional values are not set, fallback to the atRule declaration values.
Missing declarations fallback to the _default_ settings.
### Examples
* * *
## Examples
There are two ways of declaring a button:
### With a _name_ referring to an atRule declaration
#### With a _name_ referring to an atRule declaration
``` css
@button big-button {
color: grey;
background-color: white;
color-active: white;
background-color-active: grey;
border-width: 0;
border-style: none;
border-color: grey;
border-color-active: black;
class-active: active;
class-disabled: disabled;
}
```
```css

@@ -104,3 +121,3 @@ .my-button {

### With specific declarations
#### With specific declarations

@@ -115,4 +132,2 @@ ``` css

Missing declarations will use the _default_ settings.
01: [input](https://github.com/francoisromain/postcss-button/blob/gh-pages/test/src/01.css), [output](https://github.com/francoisromain/postcss-button/blob/gh-pages/test/dist/01.css), [markup](https://github.com/francoisromain/postcss-button/blob/gh-pages/test/01.html), [demo](http://localhost/francoisromain.github.io/postcss-button/test/01.html)

@@ -119,0 +134,0 @@

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