âä»çµã¿ ãuploadButtonãã®ç®±ããã¿ã³ã®æ ã¨ãã input[type=file]ã«absoluteãããopacity:0ã§éæã«ã縦横100%ã«å¼ã伸ã°ãã input[type=file]ãéæã«ããã¨é¸æãããã¡ã¤ã«åã表示ãããUIä¸åé¡ããã®ã§ã input[type=text]ãç¨æããã¡ãã«å¤ãåãã¦è¡¨ç¤ºããã¦ããã <div class="position"> <div class="uploadButton"> ãã¡ã¤ã«ãé¸æ <input type="file" onchange="uv.style.display='inline-block'; uv.value = this.value;" /> <input type="text" id="uv" class="uploadValue" disabled /> </div> </div> * { ma
![input[type=file]ãCSSã§å å·¥ãã - jsdo.it - Share JavaScript, HTML5 and CSS](https://cdn-ak-scissors.b.st-hatena.com/image/square/0eab0ba5b8a6f246b8481426bb2d21d9885ca70b/height=288;version=1;width=512/http%3A%2F%2Fjsdo-static-contents.s3.amazonaws.com%2Fimages%2Fcapture%2Fr%2FW%2Fc%2FrWcL.jpg%3Ft%3D1393206860)
{{#tags}}- {{label}}
{{/tags}}