Home>Article>Web Front-end> How to remove shadow from css input

How to remove shadow from css input

藏色散人
藏色散人 Original
2021-04-19 09:57:18 2313browse

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 inputJust 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);/*点击高亮的颜色*/ }
[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!

Statement:
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