Git Product home page Git Product logo

fis3-vue-scss-generator's Introduction

Demo脚手架

视觉方案 && 规范

视觉开发建议统一使用scss开发,include/sass文件夹中放一些公共样式mixinplaceholder

视觉方案统一使用rem单位布局,字号也统一使用rem单位,数值直接填入1242像素视觉标注的数值即可,demo如下:

    .test {
        width: rem(100px);
        font-size: rem(48px);
    }

    // 命名风格采用小写字母、短线连接的方式,栗子:
    .mod {
        // some styles for .mod ...

        &-header {
            // some styles for .mod-header ...
        }

        &-body {
            // some styles for .mod-body ...
        }

        &-footer {
            // some styles for .mod-footer ...
        }
    }

    // 1px边框,详见`include/sass/_mixins.scss`
    .boder-bottom {
        @include hairline(h, #e0e0e0);
    }

图片压缩:添加images文件夹的图片时,可以使用TinyPNG4Mac工具(500 pics/key),下载地址:

https://github.com/kyleduo/TinyPNG4Mac

TinyPNG API Key:I7F7GEIot72VUdsechdnPrbNkL1qW4O5

fis3-vue-scss-generator's People

Contributors

kevinyan avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.