creating invisible text fields in html?

后端 未结 1 807
青春惊慌失措
青春惊慌失措 2021-01-25 14:26

I\'m trying to put html code to a design mockup my boss provided, and some of the aesthetics - the shape of the search bar, for example, are a little bit bizarre and complex. As

1条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-25 14:35

    As far as the invisibility goes, put this CSS on your input:

    input {
        background: transparent;
        border: none;
    }
    

    Check out this jsFiddle that shows this in action. As far as positioning the input goes, you should be able to handle that normally.

    0 讨论(0)
提交回复
热议问题