文章詳情頁
前端 - css的加號是什么意思?
瀏覽:202日期:2023-08-04 17:58:58
問題描述
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里面的+是什么意思?
問題解答
回答1:選擇相鄰元素。。。
回答2:這里有一個很生動的 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
標簽:
CSS
相關文章:
1. 關docker hub上有些鏡像的tag被標記““This image has vulnerabilities””2. boot2docker無法啟動3. docker-compose中volumes的問題4. java - SSH框架中寫分頁時service層中不能注入分頁類5. docker安裝后出現Cannot connect to the Docker daemon.6. nignx - docker內nginx 80端口被占用7. dockerfile - 為什么docker容器啟動不了?8. docker images顯示的鏡像過多,狗眼被亮瞎了,怎么辦?9. docker容器呢SSH為什么連不通呢?10. 關于docker下的nginx壓力測試
排行榜

網公網安備