I want to changer the cursor type on a div but it is not working.
HTML:
<div class='upload-wrapper'>
<label for='file-input'>
<img src='http://i.imgur.com/MIY6LmH.png' alt='Upload File' title='Upload File' width='250' height='250'>
</label>
<input type='file' name='photo' id='file-input'>
</div>
CSS:
.upload-wrapper {
width: 250px;
height: 250px;
margin: 0 auto;
cursor: pointer;
}
.upload-wrapper img {
width: 250px
height: 280px;
}
.upload-wrapper input {
display: none;
}
Result: https://jsfiddle.net/m7tctnvh/
Thanks in advance for solutions but I would also want to know why the CSS is not working as expected.