文章详情页
前端 - css的加号是什么意思?
浏览:262日期: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. node.js - win10如何安装并使用babel?2. Browser-sync安装失败问题3. python - nginx为什么不能反代图片?4. python - pip install出现下面图中的报错 什么原因?5. 关于python爬虫的问题6. mysql5.7 安装后无法设置密码7. html5 - api.douban.com/v2/movie/in_theaters?start=0&count=3 不在以下合法域名列表中8. windows-7 - Win7中Vmware Workstatoin与Xampp中Apache服务器端口冲突?9. 微信端电子书翻页效果10. css - input中transition 设置background-color过渡,chrome浏览器页面初始化渲染会有过度效果
排行榜

网公网安备