文章詳情頁
html5 - 有關(guān)css的寫法的一些困惑
瀏覽:104日期:2023-01-25 16:18:42
問題描述
[class$='face'] { margin: 16px; padding: 4px; background-color: #e7e7e7; width: 104px; height: 104px; object-fit: contain; box-shadow: inset 0 5px white, inset 0 -5px #bbb, inset 5px 0 #d7d7d7, inset -5px 0 #d7d7d7; border-radius: 10%;}
請問這里的[class$='face'] 是啥意思?為什么可以這樣寫呢
問題解答
回答1:css屬性選擇器
標(biāo)簽:
Html5
相關(guān)文章:
1. css - 如何控制鼠標(biāo)事件?當(dāng)處于down時會觸發(fā)其他效果,而up的時候則會取消所有效果?2. 求助一個Android控件名稱3. vim - docker中新的ubuntu12.04鏡像,運行vi提示,找不到命名.4. IOS app應(yīng)用軟件的id號怎么查詢?比如百度貼吧的app-id=4779278135. css - 關(guān)于offsetLeft和offsetTop6. javascript - video標(biāo)簽無法識別的視頻格式怎么辦?7. python - flask的errorhandler(BaseError)重寫方法后怎么獲得更多信息8. html5 - mui dialog 如何配置type屬性9. javascript - 微信內(nèi)置瀏覽器的ua是多少?10. html5 - 小程序的swiper那個點可以給他居右?
排行榜

熱門標(biāo)簽