zoukankan      html  css  js  c++  java
  • Button按钮

    使用css变量来自由操作

        :root {
                --button-height: 32px;
                --font-size: 14px;
                --button-bg: white;
                --button-active-bg: #eee;
                --bordor-radius: 4px;
                --color: #333;
                --border-color: #999;
                --border-color-hover: #666;
            }
    
    
    <style lang="scss">
        .g-button {
            font-size: var(--font-size);
            height: var(--button-height);
            padding: 0 1em;
            border-radius: var(--bordor-radius);
            border: 1px solid var(--border-color);
            background: var(--button-bg);
    
            &:hover {
                border-color: var(--border-color-hover);
            }
    
            &:active {
                background-color: var(--button-active-bg);
            }
    
            &:focus {
                outline: none;
            }
        }
    </style>
    

    No entres found 报错

    ./node_modules/.bin/parcel
    改成
    ./node_modules/.bin/parcel index.html


    npx parcel
    改成
    npx parcel index.html

    Vue报错


    再次运行的时候

    ./node_modules/.bin/parcel index.html --no-cache  //(不用之前的缓存)
    
    或者
    
     rm -rf .cache //(删掉缓存)
    
    作者:过程是风景
    著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。
  • 相关阅读:
    1
    vim配置
    pyspark
    添加底部小火箭+目录
    00
    博客园代码高亮设置
    01. 枚举类型
    01. 授权问题
    Android Studio打包签名全过程
    linux 阿里云源地址
  • 原文地址:https://www.cnblogs.com/justcho/p/13476858.html
Copyright © 2011-2022 走看看