Css style for input file type element

I  am using button styling from other my buttons on input type  file element because
as default it has no option for css styling,
<label class="custom-file-upload">
              <input type="file" id="imgLoader"></br>

Open in new window

 input[type="file"] {
    display: none;

.custom-file-upload {
 background: #ffffff;
  background-image: -webkit-linear-gradient(top, #ffffff, #d4e0d3);
  background-image: -moz-linear-gradient(top, #ffffff, #d4e0d3);
  background-image: -ms-linear-gradient(top, #ffffff, #d4e0d3);
  background-image: -o-linear-gradient(top, #ffffff, #d4e0d3);
  background-image: linear-gradient(to bottom, #ffffff, #d4e0d3);
  -webkit-border-radius: 9;
  -moz-border-radius: 9;
  border-radius: 9px;
  text-shadow: 1px 1px 3px #a6a3d6;
  font-family: Georgia;
  color: #5e80ad;
  font-size: 12px;
  padding: 2px 7px 2px 7px;
  border: solid #b4d6ba 1px;
  text-decoration: none;

Open in new window

But I get just  circa 5px  of button length. I may not see it now, but i think i will also lose button caption "Choise file".
What i my add or how to modification css above to get a button?
Ivan GolubarAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jan LouwerensSoftware EngineerCommented:
The "Choose File" is on the input that you have hidden with the "display: none;" style.

To get you started, try something like:
   content: 'Choose File';

Open in new window


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.