管理CSS冲突 [英] Managing CSS conflicts

查看:79
本文介绍了管理CSS冲突的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我和几个CSS开发人员合作,现在我们遇到了布局问题,因为一个css开发者做了一些与其他东西冲突的事情。



我们已经在使用SVN ..每个CSS家伙都有自己的css文件,他与他合作。所以我的问题是应该采取什么步骤来尽量减少:



1:布局冲突













我真的很感谢你们提供的任何提示。



更新:
我不是CSS开发人员,我只是照顾

解决方案

最好的解决方案你可以做的是分配责任的领域 - 如果你都在同一地区的工作,你必须有冲突的变化,只会给自己造成困难,因为你会不断地踩在对方的脚趾。



为网站样式建立公共基准后,请将网站的主要区域分开,并只在这些区域中工作。当需要对基线进行改变时,请将它们公开,并与您的队友沟通关于这一变化,以便没有人感到惊讶。



我不会假装这很容易做 - 作为一个团队工作是一个挑战,整个软件开发行业尚未完全解决。祝你好运!


So i am working with a few CSS developers and every now and then we run into layout issues which have been fixed previously because one of the css developer did something which conflicted with something else.

We are already using SVN .. each CSS guy has his own css file he works with. So my question is what steps should be taken to minimize:

1 : layout conflicts

2 : increasing re-usability of previously written styles.

3 : minimize wasted time trying to merge the styles together in the final css.

I would really appreciate any tips you guys have to offer.

Update: I am not one of the CSS developer, i just take care of the backend stuff.. so please keep in mind that i am a total newbie when it comes to CSS norms.

解决方案

The best thing you can do is assign areas of responsibility - if you are all working in the same area of the site you are bound to have conflicting changes and will only create difficulties for yourselves because you will constantly be stepping on each other's toes.

Once you have established a common baseline for the styles of your site, divide the main areas of the site amongst you and only work in those areas. When changes need to be made to the baseline, make them out in the open and communicate with your teammates about this change so that no one is surprised.

I am not going to pretend that this is easy to do - working on something as a team is a challenge that the entire software development industry has yet to completely solve. Good luck!

这篇关于管理CSS冲突的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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