css的gulp实现插件 gulp-local-css

码农软件 · 软件分类 · CSS框架 · 2019-04-20 14:28:07

软件介绍

gulp-local-css是局部css的gulp实现插件。

为css选择器添加属性选择器,及html添加属性,实现样式组件化。

css

/* 处理前 */
body {
    /*global*/
    background: #333;
}
h1 {
    font-size: 100px;
}

/* 处理后 */
body {
    /*global*/
    background: #333;
}

h1[_c86f0316] {
    font-size: 100px;
}

html

<!--处理前-->
<body>
<h1>hello MID</h1>
</body>

<!--处理后-->
<body _c86f0316>
<h1 _c86f0316>hello _c86f0316</h1>
</body>

本文地址:https://www.codercto.com/soft/d/3998.html

XForms Essentials

XForms Essentials

Micah Dubinko / O'Reilly Media, Inc. / 2003-08-27 / USD 29.95

The use of forms on the Web is so commonplace that most user interactions involve some type of form. XForms - a combination of XML and forms - offers a powerful alternative to HTML-based forms. By pro......一起来看看 《XForms Essentials》 这本书的介绍吧!

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

随机密码生成器
随机密码生成器

多种字符组合密码

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具