However, there are still some shortcomings, that is, the content in the prompt box is not beautiful. Compared with the prompt box we saw in Baidu search, it is really ugly. Haha, don't worry, we use css to adjust the display effect # search_autoli.cls {text-align: right;} * set the effect of the close button in the prompt box * # search_autolia: hover {backgro
However, there are still some shortcomings, that is, the content in the prompt box is not beautiful. Compared with the prompt box we saw in Baidu search, it is really ugly. Haha, don't worry, we use css to adjust the display effect # search_auto li. cls {text-align: right;}/* set the effect of the close button in the prompt box */# search_auto li a: hover {backgro
However, there are still some shortcomings, that is, the content in the prompt box is not beautiful. Compared with the prompt box we saw in Baidu search, it is really ugly. Haha, don't worry, we use css to adjust the display effect.
# Search_auto li. cls {text-align: right;}/* set the closing button effect in the prompt box */
# Search_auto li a: hover {background: # D8D8D8; text-decoration: none; color: #000 ;}/ * Effects of moving the cursor into the prompt box */
Now it is truly complete. If you want to set a latency or other better functions, you can leave it to your friends. You can also reply to your thoughts below, and so on.
Complete client code:
Jquery + php automatically prompts users to enter the search content