Metro风格的应用程序中的LESS / SASS? [英] LESS / SASS in Metro style apps?

查看:84
本文介绍了Metro风格的应用程序中的LESS / SASS?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在几个测试应用程序之后,我开始将CSS视为最薄弱的环节:缺少变量意味着大量重复颜色,选择器和属性声明。我以前在ASP.NET MVC项目中使用过LESS,我想知道是否有人将
用于Metro应用程序?如果是这样,它是否适用于VS11或Blend?我想至少有颜色的变量,但是如果它会导致更多的问题而不是它解决的问题我将坚持我所拥有的。

解决方案

你好Ted,


这只是一个js库,只要它没有做一些让它无法正常运行的东西它应该可以工作。 我知道有些人没有使用过各种库,所以如果你没有听到
的其他人已经尝试过,请给它一个机会并报告回来!


-Jeff


After a couple test apps, I'm starting to look at CSS as the weakest link: The lack of variables means a lot of repetition of colors, selectors, and property declarations. I've used LESS before for ASP.NET MVC projects, and I'm wondering if anyone has used it for Metro apps? If so, does it work nicely with VS11 or Blend? I'd like to at least have variables for colors, but if it's going to cause more problems than it solves I'll stick with what I've got.

解决方案

Hi Ted,

This is just a js library so as long as it isn't doing something that would keep it from running properly it should work.  I am aware of a few people who have used various libraries without issue so give it a shot and report back if you don't hear from someone else that has tried this!

-Jeff


这篇关于Metro风格的应用程序中的LESS / SASS?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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