摘要: 1.@Styles.Render在页面上可以用@Styles.Render("~/Content/css") 来加载css首先要在App_Start 里面BundleConfig.cs 文件里面 添加要包含的css文件BundleConfig就是一个微软新加的 一个打包的配置类用来Add 各种Bundlebundles.Add(new StyleBundle("~/Content").Include("~/Content/common.css")); //这样是错误的 new StyleBundle("~/Content&q 阅读全文
posted @ 2014-02-18 16:10 vistalyq 阅读(461) 评论(0) 推荐(0) 编辑