CSS makes a nice search box

Source: Internet
Author: User
Do Web site development We certainly do not have a basic function, is the search box, then the search box style can make a website look more beautiful on the grade. Now we're going to teach you a way to make the search box look beautiful.


There are two ways to do this: one is to handle a background as a whole, navigate to the search box in a transparent GIF, or cut apart, which is faster and more flexible to load.
Pictures used in the text


<! DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 strict//en" "Http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" > < HTML xmlns= "http://www.w3.org/1999/xhtml" xml:lang= "en" > 

Tip: You can modify some of the code before running

The above is our CSS implementation of the search box, simple and beautiful, of course, you can follow the above method to make a favorite search box.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.