zoukankan      html  css  js  c++  java
  • xgqfrms™, xgqfrms® : xgqfrms's offical website of GitHub!

    CSS & new class name

    image

    image

        {
            test: /.((s*)css|sass)$/,
            // test: /.(css|scss|sass)$/,
            use: ExtractTextPlugin.extract({
                use: [
                    {
                        loader: "css-loader",
                        options: {
                            url: false,
                            // url: true,
                            minimize: true,
                            sourceMap: true,
                            modules: true,
                            importLoaders: 1,
                            // localIdentName: "[local]",
                            localIdentName: "f10_[name]_[local]",
                            // localIdentName: "[path][name]__[local]",
                            // localIdentName: "[name]__[local]___[hash:base64:8]",
                        }
                    },
                    {
                        loader: "sass-loader",
                        options: {
                            sourceMap: true,
                        }
                    }
                ],
                fallback: "style-loader",
                // allChunks: true,
                // publicPath: "./public",// not work ant all
            }),
        },
    

    latest-news.css

    @charset "UTf-8";
    
    /* latest-news.css */
    
    :root {
        --cololr: #000;
        --default-cololr: #fff;
        --new-cololr: #0f0;
    }
    
    body {
        font-family: "Microsoft YaHei", sans-serif;
        font-size: 12px;
    }
    
    *,
    html {
        box-sizing: border-box;
    }
    
    ::before,
    ::after {
        margin: 0;
        padding: 0;
    }
    
    .table {
        box-sizing: border-box;
        font-size: 13px;
        color: #121212;
        background: #fff;
         calc(100% - 10px);
        margin: 5px;
        border-collapse: collapse;
        border-spacing: 0;
        min- 1024px;
    }
    
    .table td {
        /* line-height: 36px; */
        height: 36px;
        padding: 0 5px;
        border: 1px solid #d7dbe0;
        color: #777374;
        font-weight: normal;
        text-align: left;
    }
    
    span {
        display: inline-block;
        /* vertical-align: middle; */
        /* background: #f0f; */
    }
    
    .fixed-width,
    .fixed-min-width,
    .fixed-max-width {
        line-height: 36px;
        height: 36px;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        background: #0f0f;
        color: #121212;
        /* margin-bottom: -13px; */
        padding: 0 3px;
        vertical-align: middle;
    }
    
    .fixed-width {
        /*  67vw; */
         700px;
    }
    
    .fixed-min-width {
        /*  17vw; */
         183px;
    }
    
    .fixed-max-width {
         953px;
    }
    
    .title-box {
         calc(100% - 10px);
        margin: 5px;
        min- 1024px;
        background: #f1f1f1;
        border: 1px solid #e1e1e1;
    }
    
    .title-icons {
        position: relative;
        color: #4d4d4d;
        text-indent: 14px;
        margin-left: 0;
        font-weight: 600;
        font-size: 15px;
        margin-top: 6px;
        margin-bottom: 6px;
    }
    
    .title-icons::before {
        position: absolute;
        top: 3px;
        left: 5px;
        content: "";
        display: inline-block;
         4px;
        background: #f79530;
        height: 15px;
    }
    
    @media all and (min- 1400px) {
        .fixed-width {
            /*  67vw; */
             1000px;
        }
        .fixed-min-width {
            /*  17vw; */
             203px;
        }
        .fixed-max-width {
             1303px;
        }
        .table {
            min- 1366px;
        }
        .title-box {
            min- 1366px;
        }
    }
    
    

    latest-news.min.css

    :root{--cololr:#000;--default-cololr:#fff;--new-cololr:#0f0}body{font-family:Microsoft YaHei,sans-serif;font-size:12px}*,html{box-sizing:border-box}:after,:before{margin:0;padding:0}.f10_latest-news_table{box-sizing:border-box;font-size:13px;color:#121212;background:#fff;calc(100% - 10px);margin:5px;border-collapse:collapse;border-spacing:0;min-1024px}.f10_latest-news_table td{height:36px;padding:0 5px;border:1px solid #d7dbe0;color:#777374;font-weight:400;text-align:left}span{display:inline-block}.f10_latest-news_fixed-max-width,.f10_latest-news_fixed-min-width,.f10_latest-news_fixed-width{line-height:36px;height:36px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;background:#0f0f;color:#121212;padding:0 3px;vertical-align:middle}.f10_latest-news_fixed-width{700px}.f10_latest-news_fixed-min-width{183px}.f10_latest-news_fixed-max-width{953px}.f10_latest-news_title-box{calc(100% - 10px);margin:5px;min-1024px;background:#f1f1f1;border:1px solid #e1e1e1}.f10_latest-news_title-icons{position:relative;color:#4d4d4d;text-indent:14px;margin-left:0;font-weight:600;font-size:15px;margin-top:6px;margin-bottom:6px}.f10_latest-news_title-icons:before{position:absolute;top:3px;left:5px;content:"";display:inline-block;4px;background:#f79530;height:15px}@media (min-1400px){.f10_latest-news_fixed-width{1000px}.f10_latest-news_fixed-min-width{203px}.f10_latest-news_fixed-max-width{1303px}.f10_latest-news_table,.f10_latest-news_title-box{min-1366px}}
    /*# sourceMappingURL=latest-news.min.css.map?7356c9de*/
    
    

    Flag Counter

    ©xgqfrms 2012-2020

    www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!


  • 相关阅读:
    15.Numpy之点乘、算术运算、切片、遍历和下标取值
    13.python-列表排序
    [Js-c++]c++中的指针、引用和数组名
    [Hadoop]Windows下用eclipse远程连接hdfs报错Connection denied解决方案
    [Java-JVM]Centos7编译openjdk7
    [Js-Java SE]Java中的Native关键字与JNI
    [Js-C++]C++中赋值表达式的结果
    [Js-C++].h文件与#include详解
    [Js-C++]C++中*&(指针引用)和*(指针)的区别
    [Js-Python]解决pip安装安装源速度慢的问题
  • 原文地址:https://www.cnblogs.com/xgqfrms/p/9154354.html
Copyright © 2011-2022 走看看