Code for superlink hover effect created by CSS

Source: Internet
Author: User

In the CSS tutorial of (www.bkjia.com), you can hover your mouse over the page to find the effect. No matter how the webpage window changes, the prompt layer remains in the ideal position and will not change, the compatibility is also good, because some very practical code for a link prompt function.

<! 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 "> <Head> <title> link hover prompt-bkjia.com </title> <meta http-equiv =" Content-Type "content =" text/html; charset = GB2312 "/> <style type =" text/css "> body {font: normal 12px Verdana} a # tip {position: relative; left: 75px; font-weight: bold;} a # tip: link, a # tip: hover {text-decoration: none; color: #000; display: block} a # tip span {display: none; text-decoration: none;} a # tip: hover # tip_info {display: block; border: 1px solid # F96; backgr Ound: # FFEFEF; padding: 10px 20px; position: absolute; top: 0px; left: 90px; color: #009933} </style> 

Tip: the code can be modified before running!

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.