luckyyang / tcool

haoqicat.com 图cool
cool.haoqicat.com
5 stars 1 forks source link

will use kss for our project #3

Closed luckyyang closed 11 years ago

luckyyang commented 11 years ago

我们的目标是15秒之内就可以看出来某个样式是做什么用的。

http://warpspire.com/kss https://github.com/kneath/kss https://github.com/dewski/kss-rails

luckyyang commented 11 years ago

https://github.com/happypeter/onestep/issues/164

happypeter commented 11 years ago

@luckyyang 说一下走弯路的问题。一个初学者比较容易做的弯路:

不是 写傻瓜式的考虑不周的代码 而是 试图一下就去写很完美的代码

不是 不会去驾驭一些框架性的工具性的东西,如 bootstrap,rails,还有这里的 kss 而是 想要一下子追新求快,却一下子被这些工具套住

宁下勿高,宁拙勿巧

elsalong commented 11 years ago

@luckyyang 其实我一直不太明白为什么要一下子就看出来某个样式是做什么用的,尤其是对于现在的图酷,只有那么一点点代码,也不用借助其它的来增加代码的可读性啊 如果考虑到代码的可读性,或更新时尽量减少工作,貌似更靠谱的做法是让HTML结构尽量合理化,如果不配合合理的结构,单纯的CSS是很难发挥出应有的功效的。 而在调试的时候,浏览器的开发人员工具已经可以很方便直接地显示代码的作用了

另外 @happypeter 的话我还是同意的

luckyyang commented 11 years ago

你们说的我很同意,kss只是我想通过这个项目要学习的东西,与 让HTML结构尽量合理化 也是不冲突的。

happypeter commented 11 years ago

现在我支持 @luckyyang 把这个东西搞下去,tcool 当然暂时还不是特别需要这个东西,但是 onestep 的代码已经比较多了,有了这个东西可以大大提高开发效率。

luckyyang commented 11 years ago

:+1: God bless you.

happypeter commented 11 years ago

ruby 的内容挺多,要是觉得有难度可以稍微放几天,我周一出一期 kss 的视频。

luckyyang commented 11 years ago

luckyyang commented 11 years ago

Chris Coyier also have a project for design patterns which is working in progress: http://chriscoyier.github.io/SurveyMonkey-Design-Patterns/#

luckyyang commented 11 years ago

funny! try to enter haoqicat.com in the form: http://stylifyme.com/

happypeter commented 11 years ago

stylifyme is not enough for us, SurveyMonkey is.

But what we are going to build is sth like, you know, https://github.com/styleguide/css

I will push the code on Monday, and do a happycasts video for it.

luckyyang commented 11 years ago

now github's is perfect for us. just keep an eye on other's project.

luckyyang commented 11 years ago

done in https://github.com/happypeter/onestep/issues/238#issuecomment-18817235