Input text con fondo de imagen


/ Published in: CSS
Save to your folder(s)



Copy this code and paste it in your HTML
  1. input[type="text"] {
  2. float: left;
  3. margin: 45px 0 15px 20px;
  4. width: 225px;
  5. height: 32px;
  6. color: white;
  7. background-color: transparent;
  8. background-image: url(../images/text-bg.jpg);
  9. background-position: 50% 50%;
  10. background-repeat: no-repeat;
  11. border: 0 none;
  12. text-indent: 5px;
  13. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.