CSS & new class name
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的更多相关文章
- Matplotlib数据可视化(3):文本与轴
在一幅图表中,文本.坐标轴和图像的是信息传递的核心,对着三者的设置是作图这最为关心的内容,在上一篇博客中虽然列举了一些设置方法,但没有进行深入介绍,本文以围绕如何对文本和坐标轴进行设置展开(对图像 ...
- CSS的未来
仅供参考 前言 完成<CSS核心技术与实战>这本书,已有一个多月了,而这篇文章原本是打算写在那本书里面的,但本章讲解的内容,毕竟属于CSS未来的范畴,而这一切都还不能够确定下来,所以这一章 ...
- 前端极易被误导的css选择器权重计算及css内联样式的妙用技巧
记得大学时候,专业课的网页设计书籍里面讲过css选择器权重的计算:id是100,class是10,html标签是5等等,然后全部加起来的和进行比较... 我只想说:真是误人子弟,害人不浅! 最近,在前 ...
- 前端css兼容性与易混淆的点
一.常用的骨灰级清除浮动 .clearfix:after { content: "."; display: block; height:; clear: both; visibil ...
- 理解CSS外边距margin
前面的话 margin是盒模型几个属性中一个非常特殊的属性.简单举几个例子:只有margin不显示当前元素背景,只有margin可以设置为负值,margin和宽高支持auto,以及margin具有 ...
- 理解CSS视觉格式化
前面的话 CSS视觉格式化这个词可能比较陌生,但说起盒模型可能就恍然大悟了.实际上,盒模型只是CSS视觉格式化的一部分.视觉格式化分为块级和行内两种处理方式.理解视觉格式化,可以确定得到的效果是应 ...
- 谈谈一些有趣的CSS题目(十二)-- 你该知道的字体 font-family
开本系列,谈谈一些有趣的 CSS 题目,题目类型天马行空,想到什么说什么,不仅为了拓宽一下解决问题的思路,更涉及一些容易忽视的 CSS 细节. 解题不考虑兼容性,题目天马行空,想到什么说什么,如果解题 ...
- ASP.NET MVC with Entity Framework and CSS一书翻译系列文章之第二章:利用模型类创建视图、控制器和数据库
在这一章中,我们将直接进入项目,并且为产品和分类添加一些基本的模型类.我们将在Entity Framework的代码优先模式下,利用这些模型类创建一个数据库.我们还将学习如何在代码中创建数据库上下文类 ...
- 谈谈一些有趣的CSS题目(十一)-- reset.css 知多少?
开本系列,谈谈一些有趣的 CSS 题目,题目类型天马行空,想到什么说什么,不仅为了拓宽一下解决问题的思路,更涉及一些容易忽视的 CSS 细节. 解题不考虑兼容性,题目天马行空,想到什么说什么,如果解题 ...
- 梅须逊雪三分白,雪却输梅一段香——CSS动画与JavaScript动画
CSS动画并不是绝对比JavaScript动画性能更优越,开源动画库Velocity.js等就展现了强劲的性能. 一.两者的主要区别 先开门见山的说说两者之间的区别. 1)CSS动画: 基于CSS的动 ...
随机推荐
- 慕课网金职位 Java工程师2020 百度网盘下载
百度网盘链接:https://pan.baidu.com/s/1xshLRO3ru0LAsQQ0pE67Qg 提取码:bh9f 如果失效加我微信:610060008[视频不加密,资料代码齐全,超清一手 ...
- centos7+python3+selenium+chrome
一.安装GUI图形化界面 (1)安装GUI图形化界面 yum groupinstall "GNOME Desktop" "Graphical Administration ...
- 济南学习D3T1__线性筛和阶乘质因数分解
[问题描述] 从1− N中找一些数乘起来使得答案是一个完全平方数,求这个完全平方数最大可能是多少. [输入格式] 第一行一个数字N. [输出格式] 一行,一个整数代表答案对100000007取模之后的 ...
- Office系列---将Office文件(Word、PPT、Excel)转换为PDF文件,提取Office文件(Word、PPT)中的所有图片
将Office文件转换为PDF文件,提取Office文件中的所有图片 1.Office系列---将Office文件(Word.PPT.Excel)转换为PDF文件 1.1 基于Office实现的解决方 ...
- Spring boot获取getBean
package com.job.center.quartz.common; import org.springframework.beans.BeansException; import org.sp ...
- 学生信息管理系统总结——student数据库中表关系分析
说到关系,那就不得不提两个东西: 1.E-R图,也称实体-联系图(Entity Relationship Diagram),提供了表示实体类型.属性和联系的方法,用来描述现实世界的概念模型 2.关系模 ...
- 图的连通性——Tarjan算法&割边&割点
tarjan算法 原理: 我们考虑 DFS 搜索树与强连通分量之间的关系. 如果结点 是某个强连通分量在搜索树中遇到的第⼀个结点,那么这个强连通分量的其余结点肯定 是在搜索树中以 为根的⼦树中. 被称 ...
- 一周精彩内容分享(第 1 期):"世纪逼空大战"
这里记录过去一周,我看到的值得分享的东西. 一方面是整理记录一下自己一周的学习,另一方面也是期待自己有更多的输出,有更多的价值. 周刊开源(Github:wmyskxz/weekly),欢迎提交 is ...
- A - A Gifts Fixing
t组询问,每次给出数列长度n 以及两个长度为n的数列{ai}和{bi}. 有三种操作:ai−1, bi−1以及ai,bi同时− 1 -1−1. 问最少多少步以后可以让两个数列变成常数数列. ...
- Codeforces Round #575 (Div. 3) E. Connected Component on a Chessboard
传送门 题意: 给你一个黑白相间的1e9*1e9的棋盘,你需要从里面找出来由b个黑色的格子和w个白色的格子组成的连通器(就是你找出来的b+w个格子要连接在一起,不需要成环).问你可不可以找出来,如果可 ...