成人在线亚洲_国产日韩视频一区二区三区_久久久国产精品_99国内精品久久久久久久

您的位置:首頁技術(shù)文章
文章詳情頁

前端 - css的加號(hào)是什么意思?

瀏覽:105日期: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:

這里有一個(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)文章: