Advertisement
AbdulMuttaqin

[HTML]Transparent Input Box

Aug 14th, 2018
429
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.88 KB | None | 0 0
  1. <html>
  2. <head>
  3. <style>
  4. .bg {
  5.   background: url('https://images.unsplash.com/photo-1445127040028-b1bdb9acd16e?crop=entropy&fit=crop&fm=jpg&h=950&ixjsv=2.1.0&ixlib=rb-0.3.5&q=80&w=1125') center top no-repeat;
  6.   display: block;
  7.   background-size: cover;
  8.   height: 768px;
  9.   width: 100%;
  10.   position: relative;
  11. }
  12. input {
  13.   background: rgba(255,255,255,0.4);
  14.   border: none;
  15.   position: relative;
  16.   display: block;
  17.   outline: none;
  18.   width: 400px;
  19.   height: 30p;
  20.   top: 250px;
  21.   margin: 0 auto;
  22.   padding: 10px;
  23.   color: #333;
  24.   -webkit-box-shadow: 0 2px 10px 1px rgba(0,0,0,0.5);
  25.   box-shadow: 0 2px 10px 1px rgba(0,0,0,0.5);
  26. }
  27. ::-webkit-input-placeholder { color: #666;}
  28. :-moz-placeholder { color: #666; }
  29. ::-moz-placeholder { color: #666; }
  30. :-ms-input-placeholder { color: #666; }
  31. </style>
  32. <div class="bg">
  33.   <input type="text" placeholder="BACOT MULU LO KONTOL"/>
  34. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement