小程序容器助力企业在金融与物联网领域实现高效合规运营,带来的新机遇与挑战如何管理?
561
2022-11-03
CastleCSS是一个移动优先的SCSS框架拥有模块化的构建块
CastleCSS Core Files
CastleCSS Framework
The core files are part of the Full CastleCSS Package
How to install
Install via NPM: npm install castlecss-coreRequire it in your own NPMJS packageDownload or clone the package
Updating files
CastleCSS is built so it's easy to update, you can just download make it your own as long as you don't ovewrite the core files.
npm update castlecss-core
Documentation and examples
You can find the documentation and examples at http://castlecss.com and castlecss-docs
Setup
Your project should have a setup similair to this (included in the Full CastleCSS Package): With this you make sure your own variables overwrite the castle-core variables and your setup is still updatable.
| Your project/||-- scss/ | |-- /* Custom project specific scss files here */| |-- Main.scss| ||-- node_modules/| | | | /* CastleCSS files included automatically here */| | castlecss-core/| | castlecss-buttons/| | castlecss-etc ;)/
Main.scss
Your main.scss should have a setup similair to this (included in the Full CastleCSS Package):
/* core variable files */@import "node_modules/castlecss-core/sass/variables";/* Your own variables so they overwrite the core */@import "variables";/* rest of core files */@import "node_modules/castlecss-core/sass/main";/* Include your own files below this line --------------------------------------*/
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。
发表评论
暂时没有评论,来抢沙发吧~