3 Star 0 Fork 0

Gitee 极速下载 / jStyler

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/maheshwaghmare/jStyler
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

jStyler

jQuery is used for CSS generator. It's used for applications which are related with UI / UX. To apply CSS for user selected values to the targeted element.

Is this Usefull?

This is usefull in case: -- If you get background-color, color, font-size, line-height etc from user and apply this in your output generate file. Then, This code is the prototyp for FrontEnd & BackEnd.

  • Extend the flexibility of existing code.

How to use?

Add the data data attribute data-jstyler to the targeted element.

Objectives:
  • It apply either self (default) or targeted css selector
  • Use generated CSS for normal (default) or hover view.

Eg.

A) BASIC:

This apply normal CSS to self

<div data-jstyler='{"background-color":"red","color":"orange"}'> jStyler </div>

Same with ShortHand

<div data-jstyler='{"bg":"red","c":"orange"}'> jStyler </div>

A.1) JSON Object for normal

This apply CSS with JSON object normal to self

<div data-jstyler='{normal:{bg:"green",c:"red",}'> jStyler </div>

A.2) JSON Object for normal & hover

This apply CSS with JSON object normal & hover to self

<div data-jstyler='{normal:{bg:"green",c:"red",},hover:{bg:"red",c:"green",}'> jStyler </div>

B) CSS SELECTOR:

This apply CSS to self for CSS selector .abc

<div data-jstyler='{"background-color":"red","color":"orange"}' data-jstyler-selector=".abc"> jStyler </div>

空文件

简介

jStyler 是 jQuery CSS 样式生成器,它用于与 UI/UX 相关的应用程序,将用户选定值的 CSS 应用到目标元素 展开 收起
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
JavaScript
1
https://gitee.com/mirrors/jStyler.git
git@gitee.com:mirrors/jStyler.git
mirrors
jStyler
jStyler
master

搜索帮助