"Bootstrap file input"
Bootstrap 3.0.0 Snippet by sadikhoff

1
2
3
4
5
6
7
8
9
<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<label class="btn-bs-file btn btn-primary">
CV faylı secin
<input type="file" />
</label>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
3
4
5
6
7
8
9
10
11
12
13
.btn-bs-file{
position:relative;
}
.btn-bs-file input[type="file"]{
position: absolute;
top: -9999999;
filter: alpha(opacity=0);
opacity: 0;
width:0;
height:0;
outline: none;
cursor: inherit;
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: