New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@cryptic-css/plugin-ratio

Package Overview
Dependencies
Maintainers
2
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cryptic-css/plugin-ratio

It add support for margin and padding props to pass ratio value to calculate percentage for the classic `padding hack`.

  • 0.0.7
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
9
decreased by-25%
Maintainers
2
Weekly downloads
 
Created
Source

@cryptic-css/plugin-ratio

Adds support to use the "padding hack" for keeping aspect-ratios.

Supported props

  • p
  • pt
  • pr
  • pb
  • pl
  • m
  • mt
  • mr
  • mb
  • ml

Usage

import ccss from 'cryptic-css'

ccss({
    pt: '16:9'
})

FAQs

Package last updated on 11 Feb 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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