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

Stylin.js is a Javascript library to provide "all" css attributes builtin under component/element.

License

NotificationsYou must be signed in to change notification settings

git-marcopitra/stylin.js

Repository files navigation

Stylin Logo

Stylin.js is an style ecosystem to provide the most easy and productive way to style your elements and components in the most of frontend technologies, providing a full "no-tab-change" styling experience.

Introduction

Stylina

Installing: @stylin.js/stylina

You just need to add the cdn (https://unpkg.com/@stylin.js/stylina@<version>) to yourscript tag withtype="module"

Usage: @stylin.js/stylina

<!DOCTYPE html><htmllang="en">  ...<bodyin-margin="0"in-padding="0"in-overflow-x="hidden"><h1in-color="blue"in-background-color="red">      hello<strongin-color="green">world</strong></h1></body><scripttype="module"src="https://unpkg.com/@stylin.js/stylina@<version>"></script></html>

See more here

STYLIN.JS for React

Installing: @stylin.js/react

To install the package you must have installednode and npm/yarn

# npmnpm install @stylin.js/react# yarnyarn add @stylin.js/react

Usage: @stylin.js/react

It's too simple to use ReactStylinComponents, see what I mean:

importstylinfrom'@stylin.js/react';importReactfrom'react';constStylinDiv=stylin('div')();constHome=()=>(<StylinDiv// all your JSX Styles herepadding="2rem"background="#f55"borderRadius="1rem"nHover={{textAlign:'right',}}>    Hello World</StylinDiv>);

See more here

STYLIN Elements

Installing: @stylin.js/elements

To install the package you must have installednode and npm/yarn

# npmnpm install @stylin.js/elements# yarnyarn add @stylin.js/elements

Usage: @stylin.js/elements

It's too simple to use ReactStylinComponents, see what I mean:

import{Div}from'@stylin.js/elements';importReactfrom'react';constHome=()=>(<Div// all your JSX Styles herepadding="2rem"background="#f55"borderRadius="1rem"nHover={{textAlign:'right',}}>    Hello World</Div>);

See more here

Contributing

To contribute check theCONTRIBUTING.md.

About

Stylin.js is a Javascript library to provide "all" css attributes builtin under component/element.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp