The jquery blog thinks that CSS style naming is very important.
In the project, if the team and style are named differently, it will be very difficult for others in the team to think about it.
Common problems include hump, Pascal, and symbolic connections.
1. Hump
With a long history, we have been in touch with otherProgramLanguage. I understand it very well. I don't want to explain it much.
Use CSS to write an information layer. MessageBox {...}
2. Pascal
In fact, it is very similar to the camper, specifically because every word needs to be capitalized.
For example,. MessageBox {...}
3. Symbolic connections
The development speed varies according to shift. Message-box {...}
I personally prefer to use the hump and resist symbolic links. For example, if the use is poor, it will be messy with JavaScript.
Of course, the radish and cabbage have their own love, and the team should be unified. Otherwise, you may have changed the style of your colleagues two days ago. Nima's style is a little big and still not uniform.
If you do not like it, you can use it if you like it. It is suitable for your own good team and better team.
Converting from jquery http://www.jqueryba.com/196.html