没有合适的资源?快使用搜索试试~ 我知道了~
stylish:轻量级CSS-JS
共68个文件
js:18个
html:11个
md:8个
需积分: 10 0 下载量 182 浏览量
2021-05-24
15:14:51
上传
评论
收藏 932KB ZIP 举报
温馨提示
时尚是用于编写css-in-js的轻量级框架。 它是完全与框架无关的,并且提供了使用javascript对象的灵活性,而不会影响您使用:pseudo , + sibling和其他更复杂的选择器的能力。 这个怎么运作 时髦保持一个样式表,它添加到您的文档的head 。 调用fashion时,它将解析提供的样式并将对象转换为CSS规则。 然后将这些规则附加到生成的样式表中。 然后,可以在任何DOM元素上使用从函数返回的类名称。 时尚是完整的框架不可知的。 在查看完整的文档 基本例子 import stylish from '@dmamills/stylish' ; const className = stylish ( { backgroundColor : 'tomato' , border : '1px solid tomato' , ':hover' : { ba
资源推荐
资源详情
资源评论
收起资源包目录
stylish-master.zip (68个子文件)
stylish-master
.gitignore 26B
.babelrc 29B
package.json 923B
.codecov.yml 355B
package-lock.json 203KB
src
stylish.js 4KB
utils.js 795B
config.js 458B
.travis.yml 188B
LICENSE 1KB
index.js 62B
jsdoc.json 238B
README.md 3KB
tests
keyframes.js 2KB
util.js 1KB
theme.js 2KB
raw.js 960B
basic.js 3KB
advanced.js 4KB
config.js 1KB
tutorials
tutorials.json 336B
advanced-usage.md 1011B
animations.md 508B
cache.md 522B
main-usage.md 582B
config.md 888B
theme.md 512B
raw.md 140B
.npmignore 33B
docs
fonts
Source-Sans-Pro
sourcesanspro-regular-webfont.woff 21KB
sourcesanspro-light-webfont.woff 21KB
sourcesanspro-light-webfont.woff2 16KB
sourcesanspro-regular-webfont.woff2 16KB
sourcesanspro-light-webfont.eot 19KB
sourcesanspro-light-webfont.svg 95KB
sourcesanspro-regular-webfont.svg 98KB
sourcesanspro-regular-webfont.eot 20KB
sourcesanspro-light-webfont.ttf 66KB
sourcesanspro-regular-webfont.ttf 67KB
Montserrat
Montserrat-Regular.woff 109KB
Montserrat-Bold.ttf 46KB
Montserrat-Bold.eot 104KB
Montserrat-Bold.woff2 83KB
Montserrat-Bold.woff 110KB
Montserrat-Regular.woff2 83KB
Montserrat-Regular.ttf 45KB
Montserrat-Regular.eot 104KB
tutorial-advanced-usage.html 4KB
stylish.js.html 7KB
tutorial-cache.html 3KB
tutorial-raw.html 3KB
tutorial-theme.html 3KB
tutorial-main-usage.html 3KB
scripts
nav.js 368B
collapse.js 753B
linenumber.js 674B
search.js 3KB
prettify
lang-css.js 861B
Apache-License-2.0.txt 11KB
prettify.js 13KB
polyfill.js 233B
config.js.html 3KB
tutorial-animations.html 3KB
index.html 6KB
stylish.html 13KB
tutorial-config.html 4KB
styles
prettify.css 833B
jsdoc.css 13KB
共 68 条
- 1
资源评论
slaslady
- 粉丝: 38
- 资源: 4620
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功