服务热线
18062108535
CSS实现英文或拼音单词首字母大写,只需要在css样式中加入:
text-transform: capitalize
.shou_daxie {text-transform: capitalize}/*首字母大写*/ .quan_daxie {text-transform: uppercase}/*全字母大写*/ .quan_xiaoxie {text-transform: lowercase}/*全字母小写*/
首字母大写: The Bus Will Depart At The Scheduled Time Regardless Of Latecomers 字母全实现大写: THE BUS WILL DEPART AT THE SCHEDULED TIME REGARDLESS OF LATECOMERS 字母全实现小写: the bus will depart at the scheduled time regardless of latecomers