New Revised CSS Library Forums Web Tools
FAQs Awards Usage Terms Contact
Other Sections
Bookmark to


Document CrossHair

Author: Dynamic Drive

Description: Add a fun crosshair to your document! The color of the crosshair can be customized, making it suitable for any webpage.

Demo: Look around.

Directions: Developer's View

Step 1: Copy the below stylesheet into the <head> section of your page:

Select All

Step 2: Finally, copy the below and paste it in the <body> section of your page:

Select All

To change the color of the crosshair, simply change the word "black" in the code of Step 1 to another color's name.