因此,我的输入框具有正常形式,我希望它在移动设备和台式机上具有不同的外观。当它在mobile上时,它看起来像这样:
color: #FF6B00;
font-weight: 700;
text-decoration: underline #FF6B00;
并且在desktop上是这样的
color: #000;
font-weight: 300;
text-decoration: none;
因此移动设备上应为橙色,当您编写时为橙色,但当建议下拉菜单打开时,然后我从中选择颜色变为黑色。
在下拉式CSS上使用!important
;