Socket
Socket
Sign inDemoInstall

@toolz/css3

Package Overview
Dependencies
3
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @toolz/css3

A lookup utility for CSS3 properties in JavaScript


Version published
Weekly downloads
4
increased by33.33%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

css3

css3 is a lookup utility for CSS3 properties to be used when writing inline styles in JavaScript. It's a simple object that contains most of the commonly-used options for most of the CSS3 properties.

Usage

After installation, import the utility as follows:

import { css3 } from '@toolz/css3';

The css3 variable will now be available within your code, and the structure of the object should provide for easier code completions in your IDE.

Examples:

export const Foo = () => {
   return <>
      <div style={{
         cursor: css3.cursor.crosshair,
         // every time you type one of the periods on the line above,
         // your IDE should show you all of the options that are 
         // available - first in the css3 object, and then in the 
         // css3.cursor object
      }}>
         Here is the div
      </div>
   </>
}

Keywords

FAQs

Last updated on 29 Jan 2023

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc