Socket
Socket
Sign inDemoInstall

postcss-aspect-ratio-mini

Package Overview
Dependencies
9
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.1 to 0.0.2

5

CHANGELOG.md

@@ -0,3 +1,8 @@

# 0.0.2 - 2017-07-12
* Keep only padding-top
# 0.0.1 - 2017-07-12
✨ First release

3

index.js

@@ -7,5 +7,2 @@ var postcss = require('postcss')

defaults.pseudo = {
'position': 'relative',
'display': 'block',
'content': '""',
'padding-top': '100%'

@@ -12,0 +9,0 @@ }

{
"name": "postcss-aspect-ratio-mini",
"version": "0.0.1",
"version": "0.0.2",
"description": "A PostCSS plugin to fix an element's dimensions to an aspect ratio.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -49,5 +49,2 @@ [travis]: https://travis-ci.org/yisibl/postcss-aspect-ratio-mini

.aspect-box:before {
position: relative;
display: block;
content: "";
padding-top: 56.25%;

@@ -54,0 +51,0 @@ }

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc