Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

A utility class for JS that shows all of the available properties/values in CSS3

License

NotificationsYou must be signed in to change notification settings

bytebodger/javascript-css3-lookup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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';

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

Examples:

exportconstFoo=()=>{return<><divstyle={{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></>}

About

A utility class for JS that shows all of the available properties/values in CSS3

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp