Cirrus
Gamma 8
专为快速原型制作而设计的以组件和实用性为中心的SCSS框架。使用精美的预构建组件来引导您的下一个项目和公用事业课程,以抛光您的最终设计。
查看文档»
请求功能 /报告错误 /示例
cirrus依赖于哪些CSS前缀?确定哪些选择器需要前缀。
即 /边缘 | Firefox | 铬合金 | 野生动物园 | 歌剧 | 电子 |
|---|---|---|---|---|---|
| IE11,边缘 | 最后3个版本,ESR | 最后3个版本 | 最后3个版本 | 最后3个版本 | 最后3个版本 |
npm install cirrus-uiyarn add cirrus-ui对于CDN,建议将特定版本附加到URL上,以避免意外的更新以保持项目的一致性。
请不要直接引用dist文件夹伪像,因为这些文件夹随时可能会更改。
< link rel =" stylesheet " href =" https://unpkg.com/cirrus-ui " > < link rel =" stylesheet " href =" https://www.jsdelivr.com/package/npm/cirrus-ui " >查看“设置指南”以获取更多信息。
<!DOCTYPE html >
< html >
< head >
< title > Hello World </ title >
< meta name =" viewport " content =" width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0 " />
< meta charset =" UTF-8 " />
< meta http-equiv =" X-UA-Compatible " content =" IE=edge; " />
< link href =" https://unpkg.com/cirrus-ui " type =" text/css " rel =" stylesheet " />
< link href =" https://fonts.googleapis.com/css?family=Nunito+Sans:200,300,400,600,700 " rel =" stylesheet " />
< link href =" https://fonts.googleapis.com/css?family=Montserrat:400,700 " rel =" stylesheet " />
</ head >
< body >
< h1 > Hello World </ h1 >
</ body >
</ html > import { StrictMode } from "react" ;
import ReactDOM from "react-dom" ;
import App from "./App" ;
import 'cirrus-ui' ; // You can import it here if you want
const rootElement = document . getElementById ( "root" ) ;
ReactDOM . render (
< StrictMode >
< App />
</ StrictMode > ,
rootElement
) ; import Vue from 'vue' ;
import App from './App.vue' ;
import 'cirrus-ui' ;
Vue . config . productionTip = false ;
new Vue ( {
render : ( h ) => h ( App ) ,
} ) . $mount ( '#app' ) ; import App from "./App.svelte" ;
import "cirrus-ui" ;
const app = new App ( {
target : document . body
} ) ;
export default app ; @use " node_modules/cirrus-ui/src/cirrus-ext " as * with (
$config : (
excludes: (
ABSOLUTES,
),
opacity : null, // Disable default opacity classes
extend: (
// Add your own
opacity : (
25 : .25 ,
50 : .5 ,
75 : .75 ,
)
)
),
);查看“设置指南”以获取更多信息。
使用GitPod,github的免费在线开发环境。
或本地克隆:
$ git clone [email protected]:Spiderpig86/Cirrus.git
$ cd cirrus
$ yarn install
$ yarn watchcore和ext文件。| 项目 | 描述 |
|---|---|
| Vue-Cirrus | vue.js的cirrus组件具有直接语法 |
| cirrus块 | 一系列具有卷心菜的美丽组件,准备被复制和粘贴。 |
| cirrus-reset | 一个简单的CSS重置来自Cirrus。 |
Cirrus已获得MIT许可证的许可。如果此框架工作以任何方式为您提供了帮助,那么您网站页脚的归因将不胜感激。
阅读我们的贡献指南,并共同改善卷轴。
我们欢迎所有贡献。请先阅读我们的贡献。您可以提交任何想法作为拉的请求或GitHub问题。如果您想改进代码,请查看开发说明并度过美好的时光! :)
创建问题时,请遵循您选择的问题类型提供的模板。附加的细节和格式将帮助我更快地理解和解决您的问题。
我非常感谢对该项目持续开发的任何支持。 ?