css:如何将多个样式表合并成一个 [英] css: how to combine multiple stylesheets into one

查看:146
本文介绍了css:如何将多个样式表合并成一个的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有人知道如何将多个样式表合并成一个?例如我有

Does anyone know on how to combine multiple stylesheets into one? For example I have

<link rel="stylesheet" type="text/css" href="abc.css" />
<link rel="stylesheet" type="text/css" href="efg.css" />
<link rel="stylesheet" type="text/css" href="hij.css" />

如何将上述3个样式表合并成一个?

in mysite.html. How can I combine the above 3 stylesheets into one?

谢谢。

推荐答案

您可以使用 YUI Compresser 来组合CSS文件,它将CSS与最小化代码结合使用,有助于提高性能

You can combine your css files using YUI Compresser, that combines CSS and minimizes code and is good for performance.

查看此处,用于将CSS文件合并为一个。

Take a look here, for Combining CSS files into one.

这篇关于css:如何将多个样式表合并成一个的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆