しょっちゅう忘れるので、残しておこうかなと思い作成
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | # html <div class="file btn btn-lg btn-primary"> Upload <input type="file" name="file"/> </div> # css div { position: relative; overflow: hidden; } input { position: absolute; font-size: 50px; opacity: 0; right: 0; top: 0; } |