Home > Web Front-end > Front-end Q&A > How to remove shadow from css input

How to remove shadow from css input

藏色散人
Release: 2023-01-05 16:09:35
Original
2652 people have browsed it

How to remove shadow from css input: First open the corresponding css file; then add the style "input{-webkit-appearance:none;}".

How to remove shadow from css input

## Operating environment for this article: Windows 7 system, Dell G3 computer, HTML5&&CSS3 version.

There is a shadow on the input

How to remove shadow from css input Just write -webkit-appearance: none; directly in the input css

input{
border:none;
-webkit-appearance:none;/*去除阴影边框*/
outline: none;
-webkit-tap-highlight-color:rgba(0,0,0,0);/*点击高亮的颜色*/
}
Copy after login
[Recommended learning:

css video tutorial]

The above is the detailed content of How to remove shadow from css input. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template