Skip to content

D-xuanmo/normalize.css

Repository files navigation

normalize.css CSS默认样式重置

安装

$ yarn add @xuanmo/normalize.css

使用

@import "@xuanmo/normalize.css";

// 引入公用 class
@import "@xuanmo/normalize.css/class.scss";

// 引入变量
@import "@xuanmo/normalize.css/var.scss";

替换默认变量

// 当默认的变量不满足情况时,可以使用以下方式替换
// 替换内外边距的生成尺寸
$--margin: (
  top: 5 10 15 20,
  right: 5 10 15 20,
  bottom: 5 10 15 20,
  left: 5 10 15 20
);
@import "@xuanmo/normalize.css/class.scss";

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages