文章詳情頁(yè)
前端 - css的加號(hào)是什么意思?
瀏覽:116日期:2023-08-04 17:58:58
問(wèn)題描述
input.#{$prefix}-input-search + .button-search { border-top-left-radius: 0; border-bottom-left-radius: 0; left: -0.3em; } input.#{$prefix}-input-search:focus + .button-search { background: $border-focus-color; }
input.#{$prefix}-input-search + .button-search里面的+是什么意思?
問(wèn)題解答
回答1:選擇相鄰元素。。。
回答2:這里有一個(gè)很生動(dòng)的 CSS 選擇器 DEMO:http://flukeout.github.io/這篇文章里介紹得很全了:http://code.tutsplus.com/tutorials/the-30-css-selectors-you-must-memorize--net-16048這是一些常用的選擇器介紹:https://developer.mozilla.org/zh-CN/docs/Web/Guide/CSS/Getting_started/Selectors
標(biāo)簽:
CSS
相關(guān)文章:
1. java - spring-data Jpa 不需要執(zhí)行save 語(yǔ)句,Set字段就可以自動(dòng)執(zhí)行保存的方法?求解2. python - django models 為生成的html元素添加樣式。3. docker-compose 為何找不到配置文件?4. docker gitlab 如何git clone?5. javascript - JS設(shè)置Video視頻對(duì)象的currentTime時(shí)出現(xiàn)了問(wèn)題,IE,Edge,火狐,都可以設(shè)置,反而chrom卻...6. android - 安卓做前端,PHP做后臺(tái)服務(wù)器 有什么需要注意的?7. 前端 - css3 3d效果問(wèn)題8. python的bs4如何篩選出h1標(biāo)簽中的內(nèi)容9. html5 - 為什么使使用vue cli 腳手架,post-css 沒有自動(dòng)對(duì)css3屬性自動(dòng)添加瀏覽器前綴呢?10. mysql - 記得以前在哪里看過(guò)一個(gè)估算時(shí)間的網(wǎng)站
排行榜

熱門標(biāo)簽