// 颜色定义规范
$color-theme = #ff4444
$color-primary = #20a0ff//#18c79c
$color-font = rgba(102, 102, 102, 1)
//字体定义规范
$font-size-small-s = 10px
$font-size-small = 12px
$font-size-medium = 14px
$font-size-medium-x = 16px
$font-size-large = 18px
$font-size-large-x = 22px
/**
* Eric Meyer's Reset CSS v2.0 (http://meyerweb.com/eric/tools/css/reset/)
* http://cssreset.com
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header,
menu, nav, output, ruby, section, summary,
time, mark, audio, video, input
margin: 0
padding: 0
border: 0
font-size: 100%
font-weight: normal
vertical-align: baseline
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, menu, nav, section
display: block
body
line-height: 1
blockquote, q
quotes: none
blockquote:before, blockquote:after,
q:before, q:after
content: none
table
border-collapse: collapse
border-spacing: 0
/* custom */
a
color: #7e8c8d
-webkit-backface-visibility: hidden
text-decoration: none
li
list-style: none
body
-webkit-text-size-adjust: none
-webkit-tap-highlight-color: rgba(0, 0, 0, 0)
input[type=button], input[type=submit], input[type=file], button
cursor: pointer
-webkit-appearance: none
@media screen and (min-width: 1200px)
@media screen and (min-width: 960px) and (max-width: 1199px)
@media screen and (min-width: 768px) and (max-width: 959px)
@media only screen and (min-width: 480px) and (max-width: 767px)
@media only screen and (max-width: 479px)
/*
* section2.1 background and border
*/
semi-transparent-border(border-width)
box-sizing:border-box;
border: border-width solid hsla(0, 0%, 100%, .5);
background-clip: padding-box;
@import '~common/stylus/reset'
@import '~common/stylus/variable'
@import '~common/stylus/mixins'
img
pointer-events:none /*禁止对图片进行拖拽、复制等操作*/
a
color: #7e8c8d
-webkit-backface-visibility: hidden
text-decoration: none
li
list-style: none
body
-webkit-text-size-adjust: none
-webkit-tap-highlight-color: rgba(0, 0, 0, 0)
input[type=button], input[type=submit], input[type=file], button
cursor: pointer
-webkit-appearance: none
分享到:
相关推荐
驯服是使用Beast.js和Stylus进行UI原型制作的环境。 安装 安装模块npm install -g taming 创建工作目录mkdir mydir && cd mydir 初始化taming init 开始taming start 从命令行使用 指令 $ taming init工作目录的...
一、什么是webpack: webpack可以看做是模块打包机:它做的事情...npm init npm install webpack --save-dev 三、安装loader,stylus以及postCss npm install style-loader css-loader stylus-loader stylus --save-dev
入门如果您已全局安装了Harp,则可以通过运行以下命令将此仓库用作样板: harp init --boilerplate rogerhutchings/hb-rog 如果不是,请将存储库克隆到新目录中。 通过运行npm install依赖项。 通过运行npm start...
npm i stylus stylus-loader npm i cross-env npm i html-webpack-plugin npm i postcss-loader autoprefixer babel-loader babel-core npm i babel-preset-env babel-plugin-transform-vue-jsx npm i babel-helper-...
npm -g i @vue/clivue init webpack-simple my-app可能,但是我也升级了,因为我需要进行主要版本升级,升级时我不得不弄乱配置文件(请参阅提交注释) 我认为vue-loader已获得官方支持,因为它是由Vue官方cli制作...
这个项目是什么? 该项目用于创建 node-webkit 应用程序。 安装步骤 1. 克隆这个仓库 ...2.进入源码目录 cd [project-root]/source 3.在源目录上初始化 npm init git init 4. 开始创建您的应用程序!... stylus
支持less,sass,stylus等,支持css预处理 环境要求 Node > 8.0 NPM > 3.0 wksin 提供了命令行工具,可以通过以下命令进行安装 $ npm install -g wksin 再通过 wksin init 并填入项目基本信息新建一个项目 $ wksin...
安装 stylus 和 pug 转换工具(由于 hexo init 后默认可能没有安装下面的两个) npm install hexo-renderer-jade hexo-renderer-stylus --save 修改配置文件 # 在你的 _config.yml 文件中设置 theme: paper # 同时为了...
Power on printer init: 重新启动打印机,同电脑的重新启动原理一样. Soft reset:初始化打印内部的一些参数和变量,也就是说把一些打印机内部的参数及变量恢复到出厂状态。 注意:作者说这两个功能仅仅是实验用的,...
如果您从以前的版本升级,请运行./scripts/init.sh并从vendor删除所有 bower 组件。 Bower 现在使用bower_components目录。 特征: Coffeescript / Jade / Less / Stylus 在保存时自动编译 在开发过程中自动重新...
Boilerplate 使用现代前端工具来加速开发(gulp/coffee/stylus/jade/webpack/livereload)。 它允许您基于优化包的异步加载来单独测试整个内容或每个模块。 恢复它使文件变轻,加载快速和测试容易:) 如果您正在...
Webpack4配置备忘录版本 : webpack 4.10.2入口文件 :./src/index.js输出目录 :./dist支持 :ES6语法、代码压缩、代码分割、Eslint语法检查、Less、Sass、Stylus、自动补全浏览器兼容css代码、源代码映射、本地...
Coffeescript / Less / Sass / SCSS / Stylus在保存时自动编译 开发过程中自动重新加载使您免于手动刷新页面 用于生产的Javascript / CSS压缩 整合用于单元测试 Bootstrap与主题的集成。 用法 Sapling旨在与后端一起...
Power on printer init: 重新启动打印机,同电脑的重新启动原理一样. Soft reset:初始化打印内部的一些参数和变量,也就是说把一些打印机内部的参数及变量恢复到出厂状态。 注意:作者说这两个功能仅仅是实验用的,...
如果要从以前的版本升级,请运行./scripts/init.sh并从vendor删除所有Bower组件。 Bower现在使用bower_components目录。 特征: Coffeescript / Jade / Less / Stylus在保存时自动编译 开发过程中自动重新加载使...
m-gulp 基于gulp的前端自动化工作流配置。 自动化工作流? -只辅助开发人员进行复杂,单调,琐碎重复的工作(见自动处理项章节)。...1、yarn init 初始化工程创建目录 目录结构见目录说明章节 2、yarn dev 启动
汇总+笑话+ Babel +故事书+ TravisCI +语义发布+ :red_heart_selector:用法$ npm install -g vue-cli$ vue init julon/vue-cli-template-library my-project$ cd my-project$ npm install$ npm run storybook包含...
$ vue init kdydesign/vue-electron my-project $ cd my-project $ npm install $ npm run dev 关于主要模块 vue-electron使核心依赖模块保持最新。 :red_heart_selector: 核心 模组 版 电子 11.x Vue-CLI 3.x ...
3.安装axios、js-cookie、element-ui、stylus等等常用插件 步骤二 1.在main.js中引入router、element-ui等 import Vue from 'vue' import store from './store' //可以先忽略 import App from './App' import ...
刘成谦90.github.io Centos安装npm # yum list | grep epel //安装搜索结果源 ...在本地LiuChengqian90.github.io文件夹下通过Git bash或CMD顺序执行npm install hexo,npm install hexo-cli,hexo init,npm inst