html - Slide text search box is overwritten -
i'm doing search box slide. need when click on magnifying glass, move slide "castilian", text , not fixed text , sarch see box below. it's possible? best ...
try css. worked.
#wrap { margin: 39px 60px; display: inline-block; position: relative; /*float: right;*/ padding: 0; position: relative; } input[type="text"] { height: 60px; font-size: 55px; display: inline-block; font-family: "lato"; font-weight: 100; border: none; outline: none; color: #555; padding: 3px; padding-right: 60px; width: 0px; position: relative; top: 0; right: 0; background: none; z-index: 3; transition: width .4s cubic-bezier(0.000, 0.795, 0.000, 1.000); cursor: pointer; } input[type="text"]:focus:hover { border-bottom: 1px solid #bbb; } input[type="text"]:focus form { width: 700px; } input[type="text"]:focus { width: 700px; z-index: 1; border-bottom: 1px solid #bbb; cursor: text; } input[type="submit"] { height: 67px; width: 63px; display: inline-block; color:red; /*float: right;*/ background: url(data:image/png;base64,ivborw0kggoaaaansuheugaaadaaaaawcamaaabg3am1aaaagxrfwhrtb2z0d2fyzqbbzg9izsbjbwfnzvjlywr5ccllpaaaadnqtfrfu1nt9fx1ljsuxl5e1dxvfn5+c3nz6urqv7+/tls0iymjqampn5+fysrk39/fawlp////vi4zywaaabf0uk5t/////////////////////walrzliaaablkleqvr42rswwrbdiahfheoutn3/ags1zaa4chrkz8jfrhwoxkwtvwgp1qo0byobapwilmbnahbwfbzld9j0jxfldviiobnhg/do8prhtjk0tezahv7qlok0jjebh+f8+u/hopielowfizucdozd1radoqka75oq4cvvkct+odhnqqpqcitwajnwvggquwz12ljugwgoawgbkzrvbccypgukoaowgbx/l0cmxn40u6xwcij1cozwydffp3axsqoyvdkxih9fkrfwprhyzuaxmgpleiw7qhbdrciylxjakheculbivoqx1dvryh26yb0hsuoofepsoz+bve0mrlznjgzcrqyhykmmp2hbtizdkzctc/plqonbrk7/yzdaoq/q5npbh1f7x7fgp4c3aamaqrhzx9zhcgsaaaaasuvork5cyii=) center center no-repeat; text-indent: -10000px; border: none; position: absolute; top: 0; right: 0; z-index: 2; cursor: pointer; opacity: 0.4; cursor: pointer; transition: opacity .4s ease; } input[type="submit"]:hover { opacity: 0.8; }
Comments
Post a Comment