Beautiful CSS background

Source: Internet
Author: User
Tags wrapper
Tip: you can modify some code before running

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Create a Block Hover Effect for a List of Links | Smiley Cat Web Design</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="description" content="Example of how to create a block hover effect for items in a list of links." /> <style type="text/css">Body {background: #000000; font: 11px Arial, Helvetica, sans-serif;} # wrapper {margin-left: auto; width: 500px; margin-right: auto ;} # links {}# links ul {list-style-type: none; width: 400px; }# links li {border: 1px dotted #999; border-width: 1px 0; margin: 5px 0 ;}# links li a {color: # b3e00f; display: block; padding: 5px; text-decoration: none; font-size: 12px; font-weight: bold;} * html # links li a {width: 400px;} # links li a: hover {background: #1c2424;} # links a em {color: # CCCCCC; display: block; font: normal 11px Verdana, Arial, Helvetica, sans-serif;} # links a span {color: # B3E00F; font-size: 10px; font-style: normal; font-weight: normal; font-variant: normal ;}</style> </head> <body> <div id="wrapper"> <div id="links"> <ul> <li>CSS Rounded Corners 'Roundup'<em>Quite a large collection of techniques for creating boxes and layouts with rounded corners using CSS.</em>November 25,200 5</li> <li>How to Write a Web Site Creative Brief<em>Writing a clear, well-structured creative brief will get your web project off to a good start and keep it on track. Here's how. Supported des examples.</em>February 26,200 6</li> <li>Free Stock Photography Web Sites<em>My pick of the various free stock photography sites on the web. Updated regularly.</em>October 5, 2004</li> </ul> </div> </div> </body> </html>
Tip: you can modify some code 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.