在ASP.NET MVC4应用程序中,创建样式包
bundles.Add(new StyleBundle("~/css/pos.css") .Include("~/css/mypos.css"));
并视为呈现
@Styles.Render("~/css/pos.css")
<link href="/myapp/css/mypos.css" rel="stylesheet"/>
<link href="/myapp/css/mypos.css" media="screen" rel="stylesheet"/>
或打印
<link href="/myapp/css/mypos.css" media="print" rel="stylesheet"/>