.input-text { border-radius: 7px; min-width: 325px; max-width: 450px; width: 100%; padding: 5px 10px; } .inputfile { width: 0.1px; height: 0.1px; opacity: 0; overflow: hidden; position: absolute; z-index: -1; } .inputfile + label { font-size: 14px; color: white; display: inline-block; padding: 5px; background-color: #555555; border-radius: 10px; } .inputfile + label:hover { background-color: #202225; } .inputfile + label { cursor: pointer; /* "hand" cursor */ }