input[type=file] { opacity: 0; position: relative; z-index: 1; width: 0.5px; height: 0.5px; display: inline-block; input { display: none; } } .dynamicFileName { width: 100%; height: 34px; background: #FFFFFF; border: 1px solid #D2D2D2; border-radius: 2px; display: inline-block; line-height: 34px; font-weight: normal !important; padding-left: 3px; border-bottom-right-radius: 0; border-top-right-radius: 0; } .labelForImage { background: #F2F2F2; border-left: 1px solid #D2D2D2; float: right; height: 32px; } .icon-browse:before { content: "\e90d"; color: #5A5A5A; font-size: 15px; cursor: pointer; width: 34px; height: 100%; line-height: 34px; text-align: center; display: inline-block; vertical-align: super; border-radius: 2px; border-bottom-left-radius: 0; border-top-left-radius: 0; } .icon-browse:hover::before { background-color: #E6F6FB; color: #009FDB; } .icon-browse:active::before { background-color: #E6F6FB; color: #009FDB; }