摘要
合理、科学地对CSS代码命名,能够精简CSS代码,提高代码的开发效率,方便网站设计师对网站进行维护与修改.通过对CSS代码命名规则分析,提出了进行语义化命名、结构化命名和惯例命名三种CSS代码命名技巧.
Naming CSS code reasonably and scientifically can not only simplify the code but also improve the efficiency of code development,which helps designers maintain and revise website.By analyzing the rules for naming CSS code,to put forward three naming skills such as naming according to meaning,naming according to structure,and naming according to convention.
出处
《太原师范学院学报(自然科学版)》
2015年第1期58-60,共3页
Journal of Taiyuan Normal University:Natural Science Edition