Blogger Information
Blog 40
fans 3
comment 0
visits 48344
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
input标签对伪元素::before ::after支持情况
MArtian
Original
1947 people have browsed it

今天在做布局的时候遇到了一个input text 获取焦点后显示边框的动画效果,想用伪元素来做,写了之后发现没效果,网上查了一下,原来不是所有input标签都支持伪元素。
712814-20171124163426140-2091884046.png

显示红框和蓝框的是支持伪元素的input标签,可输入文本的Input标签均不支持 ::after ::before伪元素。

Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post