当前位置:网站首页>输入框最前面添加放大镜&&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可能会出现冲突问题,为了使其都有效,必须使用综合的写法
边栏推荐
猜你喜欢
JMeter test - JMeter 】 【 upload multiple images/batch CSV file upload pictures interface parametric method
CalBioreagents超全Id 蛋白兔单克隆抗体,助力科研
牛客每日刷题之链表
[MySQL] Second, the relationship between processes, MySQL password cracking, table building and database building related commands
51 serial communication (on)
Introduction to AIOT
著名数字藏品专家、数藏大会创始人高泽龙接受中国企业家杂志采访
中英文说明书丨CalBioreagents 山羊抗人白蛋白,IgG组分
qt发送邮件程序
SiO2-NH2/Fe3O4表面氨基化的Fe3O4/SiO2复合磁性纳米粒子(齐岳试剂)
随机推荐
带头双向循环链表的增删查改(C语言实现)
二硫化钼/二氧化铪的复合纳米材料(MoS2/HfO2)|钽掺杂二氧化铪纳米颗粒(齐岳bio)
四氧化三铁/硫化铋纳米复合材料([email protected]@BSABiS纳米颗粒)|树状大分子稳定的硫化铋纳米颗粒|科研试剂
SiO2-NH2/Fe3O4表面氨基化的Fe3O4/SiO2复合磁性纳米粒子(齐岳试剂)
Unity五子棋游戏设计 和简单AI实现(1)
记一个 nest.js 路由匹配后面所有路径问题
【Wwise】ArgumentException: The specified path is not of a legal form (empty).关于WwiseGlobal中的路径读取错误问题
22 high mid term paper topics forecast
PDF不能打印和复制的问题如何解决?
DevNet: Deviation Aware Networkfor Lane Detection
vs番茄助手的方便功能和便捷快捷键介绍
【Feel】In the Unity Feel plugin, Camera cannot display CameraShake correctly
5年测试开发工程师感悟——写给还在迷茫中的朋友
多行字符串排序在线工具
Chapter 7. Image-based lighting
【R语言】把文件夹下的所有文件提取到特定文件夹
[R language] Extract all files under a folder to a specific folder
How to pass a two-dimensional array to a function in C language?
Introduction to AIOT
Likou Brush Question 180