ecss:css的英文版

时间:2021-02-14 10:43:25
【文件属性】:
文件名称:ecss:css的英文版
文件大小:14KB
文件格式:ZIP
更新时间:2021-02-14 10:43:25
TypeScript 电子安全系统 ECSS是用Java编写CSS的英语实现。 安装 $ npm install ecss-lang -g 基本语法 要选择标签,请使用for关键字。 for button for h3 要添加样式,请用“ is”替换通常的冒号,并省略分号和连字符。 for button background color is blue outline is none for h3 text align is center 完成后,运行以下命令: $ ecss -o path/to/file.ecss 解析的ECSS应该在控制台中输出。 button { background-color :blue; outline :none;} h3 { text-align :center;} 要解析文件, ecssconfig.json在根目录中使用这些内容创建一个e
【文件预览】:
ecss-main
----ecssconfig.json(64B)
----src()
--------ecss.ts(472B)
--------variables.ts(553B)
--------js()
--------cli.ts(2KB)
--------functions.ts(568B)
--------parser.ts(2KB)
----ecss.js(2KB)
----.npmignore(41B)
----tsconfig.json(191B)
----LICENSE(1KB)
----test()
--------style.ecss(209B)
--------css()
----README.md(1KB)
----docs()
--------index.html(277B)
----.gitignore(29B)
----package-lock.json(638B)
----package.json(806B)

网友评论