当前位置:网站首页>输入框最前面添加放大镜&&background-image和background-color冲突问题
输入框最前面添加放大镜&&background-image和background-color冲突问题
2022-08-09 06:20:00 【TA_WORLD】
输入框最前面添加放大镜&&background-image和background-color冲突问题
<Input className="search-input" placeholder="搜索"></Input>
.search-input {
height: 60px;
background:url(../../assets/home/searchIcon.png) no-repeat left, #F6F6F6;
background-size: 50px;
border-radius: 20px;
padding: 0 70px;
}
此处需要注意,background-image和background-color可能会出现冲突问题,为了使其都有效,必须使用综合的写法
边栏推荐
猜你喜欢
牛客每日刷题之链表
Gao Zelong, a famous digital collection expert and founder of the Digital Collection Conference, was interviewed by China Entrepreneur Magazine
ZIP压缩包文件删除密码的方法
Chapter 3 Search and Graph Theory (1)
什么是excel文件保护
Distributed timing task framework xxl-job source code analysis
list 字符串的输出方法 print(*a) print(““.join(str(c) for c in a) )
GNNExplainer applied to node classification task
【Feel】In the Unity Feel plugin, Camera cannot display CameraShake correctly
【Word】Add subscripts to the text of Word at the same time
随机推荐
tidb 宕机测试
kubernetes 安全
Build a "firewall" for safety and carry out firefighting training in Fengzhuang Township, Tongxu County, Henan Province
workbench 数据导出
Introduction to AIOT
直播电商平台开发,点击查看更多显示所有内容
se2clam
GNNExplainer applied to node classification task
中英文说明书丨TRC 交替醇(Catalogue NumberA575760)
Qt 学习(三) —— Qt 模块
Polyamide-amine (PAMAM) dendrimer-bismuth sulfide composite nanoparticles | bismuth sulfide modified Gd‑DTPA‑OA ligand | for scientific research
Can Jincang Database Set Transaction Automatic Commit?
Domain name batch query online tool
Bismuth sulfide nanorods with CT imaging function | Bismuth sulfide-zinc protoporphyrin composites (PAMAM/Bi2S3 composite nanoparticles)
四氧化三铁/硫化铋纳米复合材料([email protected]@BSABiS纳米颗粒)|树状大分子稳定的硫化铋纳米颗粒|科研试剂
[mysql database] the use of mysql database
半胱氨酸/半乳糖/苝二酰亚胺功能化Fe3O4四氧化三铁纳米材料|科研试剂
2022-08-08:给定一个数组arr,表示从早到晚,依次会出现的导弹的高度。 大炮打导弹的时候,如果一旦大炮定了某个高度去打,那么这个大炮每次打的高度都必须下降一点。 1) 如果只有一个大炮,返回
Ferric oxide/bismuth sulfide nanocomposites ([email protected]@BSABiS nanoparticles) | dendrimer-stabilized bismuth sulfide nanop
shell function