CSS實現(xiàn)英文或拼音單詞首字母大寫,只需要在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 字母全實現(xiàn)大寫: THE BUS WILL DEPART AT THE SCHEDULED TIME REGARDLESS OF LATECOMERS 字母全實現(xiàn)小寫: the bus will depart at the scheduled time regardless of latecomers
相關標簽:
- 上一篇:百度地圖地點網(wǎng)站調(diào)用方法
- 下一篇:沒有了

