file input
内有一个div
元素border-radius
且overflow
设置为hidden
,但出于某种原因,我可以激活通过单击border-radius
切断的区域输入文件。
答案 0 :(得分:2)
I have updated your code is JSFiddle - [https://jsfiddle.net/7consvgu/4/][1]
* Changes: Input width added: 100%;
* Border-radius: same as circle
* Box-sizing: border-box for all elements for normalize
* Padding: to align text horizontal & vertical center