CSS & new class name

    {
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;
width: calc(100% - 10px);
margin: 5px;
border-collapse: collapse;
border-spacing: 0;
min-width: 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 {
/* width: 67vw; */
width: 700px;
} .fixed-min-width {
/* width: 17vw; */
width: 183px;
} .fixed-max-width {
width: 953px;
} .title-box {
width: calc(100% - 10px);
margin: 5px;
min-width: 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;
width: 4px;
background: #f79530;
height: 15px;
} @media all and (min-width: 1400px) {
.fixed-width {
/* width: 67vw; */
width: 1000px;
}
.fixed-min-width {
/* width: 17vw; */
width: 203px;
}
.fixed-max-width {
width: 1303px;
}
.table {
min-width: 1366px;
}
.title-box {
min-width: 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;width:calc(100% - 10px);margin:5px;border-collapse:collapse;border-spacing:0;min-width: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{width:700px}.f10_latest-news_fixed-min-width{width:183px}.f10_latest-news_fixed-max-width{width:953px}.f10_latest-news_title-box{width:calc(100% - 10px);margin:5px;min-width: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;width:4px;background:#f79530;height:15px}@media (min-width:1400px){.f10_latest-news_fixed-width{width:1000px}.f10_latest-news_fixed-min-width{width:203px}.f10_latest-news_fixed-max-width{width:1303px}.f10_latest-news_table,.f10_latest-news_title-box{min-width:1366px}}
/*# sourceMappingURL=latest-news.min.css.map?7356c9de*/


xgqfrms 2012-2020

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


CSS & new class name的更多相关文章

  1. Matplotlib数据可视化(3):文本与轴

      在一幅图表中,文本.坐标轴和图像的是信息传递的核心,对着三者的设置是作图这最为关心的内容,在上一篇博客中虽然列举了一些设置方法,但没有进行深入介绍,本文以围绕如何对文本和坐标轴进行设置展开(对图像 ...

  2. CSS的未来

    仅供参考 前言 完成<CSS核心技术与实战>这本书,已有一个多月了,而这篇文章原本是打算写在那本书里面的,但本章讲解的内容,毕竟属于CSS未来的范畴,而这一切都还不能够确定下来,所以这一章 ...

  3. 前端极易被误导的css选择器权重计算及css内联样式的妙用技巧

    记得大学时候,专业课的网页设计书籍里面讲过css选择器权重的计算:id是100,class是10,html标签是5等等,然后全部加起来的和进行比较... 我只想说:真是误人子弟,害人不浅! 最近,在前 ...

  4. 前端css兼容性与易混淆的点

    一.常用的骨灰级清除浮动 .clearfix:after { content: "."; display: block; height:; clear: both; visibil ...

  5. 理解CSS外边距margin

    前面的话   margin是盒模型几个属性中一个非常特殊的属性.简单举几个例子:只有margin不显示当前元素背景,只有margin可以设置为负值,margin和宽高支持auto,以及margin具有 ...

  6. 理解CSS视觉格式化

    前面的话   CSS视觉格式化这个词可能比较陌生,但说起盒模型可能就恍然大悟了.实际上,盒模型只是CSS视觉格式化的一部分.视觉格式化分为块级和行内两种处理方式.理解视觉格式化,可以确定得到的效果是应 ...

  7. 谈谈一些有趣的CSS题目(十二)-- 你该知道的字体 font-family

    开本系列,谈谈一些有趣的 CSS 题目,题目类型天马行空,想到什么说什么,不仅为了拓宽一下解决问题的思路,更涉及一些容易忽视的 CSS 细节. 解题不考虑兼容性,题目天马行空,想到什么说什么,如果解题 ...

  8. ASP.NET MVC with Entity Framework and CSS一书翻译系列文章之第二章:利用模型类创建视图、控制器和数据库

    在这一章中,我们将直接进入项目,并且为产品和分类添加一些基本的模型类.我们将在Entity Framework的代码优先模式下,利用这些模型类创建一个数据库.我们还将学习如何在代码中创建数据库上下文类 ...

  9. 谈谈一些有趣的CSS题目(十一)-- reset.css 知多少?

    开本系列,谈谈一些有趣的 CSS 题目,题目类型天马行空,想到什么说什么,不仅为了拓宽一下解决问题的思路,更涉及一些容易忽视的 CSS 细节. 解题不考虑兼容性,题目天马行空,想到什么说什么,如果解题 ...

  10. 梅须逊雪三分白,雪却输梅一段香——CSS动画与JavaScript动画

    CSS动画并不是绝对比JavaScript动画性能更优越,开源动画库Velocity.js等就展现了强劲的性能. 一.两者的主要区别 先开门见山的说说两者之间的区别. 1)CSS动画: 基于CSS的动 ...

随机推荐

  1. Docker的Ubuntu镜像安装的容器无ifconfig命令和ping命令

    就这三步骤,下面的是实例不看也罢. apt-get update ###第一步一定要先执行这个更新下.不更新下面的安装命令会显示找不到网络包 //ifconfig apt install net-to ...

  2. MySQL调优用户监控之show processlist

    简介 show processlist显示这台MySQL正在连接的用户: mysql> show processlist; +----+------+-----------+-------+-- ...

  3. BBR implements bbr-like limiter 限流

    pkg/ratelimit/bbr/bbr.go:68 github.com/go-kratos // BBR implements bbr-like limiter.// It is inspire ...

  4. owners

    community/owners.md at master · kubernetes/community https://github.com/kubernetes/community/blob/ma ...

  5. circus reload

    circus reload Configuration - Circus 0.15.0 documentation https://circus.readthedocs.io/en/latest/fo ...

  6. 签名 sign key 纸质邮件 历史 RSA诞生历史

    API接口签名校验,如何安全保存appsecret? - 知乎  https://www.zhihu.com/question/40855191 要保证一般的客户端-服务器通信安全,可以使用3个密钥. ...

  7. Redis集群动态增加和删除节点

    一.添加节点 1.首先将需要添加的节点启动: 这里启动redis6383.conf和redis6393.conf两个节点 查看原有节点:           3个主节点所对应的哈希槽(hash slo ...

  8. XV6学习(8)中断和设备驱动

    驱动是操作系统中用于管理特定设备的代码:驱动控制设备硬件,通知硬件执行操作,处理中断,与等待该设备IO的进程进行交互. 当设备需要与操作系统进行交互时,就会产生中断(陷阱的一种),之后内核的陷阱处理代 ...

  9. XV6学习(9)Lab cow: Copy-on-write fork

    代码在github上.总体来说如果理解了COW机制的话,这个实验的完成也没有很复杂. 这一个实验是要完成COW(copy on write)fork.在原始的XV6中,fork函数是通过直接对进程的地 ...

  10. 九:SpringBoot-整合Mybatis框架,集成分页助手插件

    九:SpringBoot-整合Mybatis框架,集成分页助手插件 1.Mybatis框架 1.1 mybatis特点 1.2 适用场景 2.SpringBoot整合MyBatis 2.1 核心依赖 ...