Make the cursor to appear as crosshair as all the link on a web page | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 8

Make the cursor to appear as crosshair as all the link on a web page

Plzz help

25th Dec 2018, 5:41 AM
Badshah
Badshah - avatar
11 Answers
+ 13
a { cursor: crosshair; }
26th Jul 2019, 11:10 AM
Muhammad Waqas
Muhammad Waqas - avatar
+ 6
/*a for a links, :hover when mouse hover */ a:hover { /* change cursor to crosshair */ cursor: crosshair; }
25th Dec 2018, 8:24 AM
🇵🇰 Danish Khan 🇵🇰
🇵🇰 Danish Khan 🇵🇰 - avatar
+ 4
Yes it is CSS code that either goes in CSS file or <style> </style> tags in HTML file. As far as one word or symbol is concerned, I am not sure what you mean but I will try give answer if you use a : hover {/*your css code */}, it will apply to all links, <a href="xxx" > </a> .className : hover {/*css code */}, it will apply to all elements of class "className", this class name can be any thing you want. #idName : hover {/*css code*/}, it will apply to all elements of id "idName", this id name can be any thing you want. If you still don't get your answer please clarify your question.
25th Dec 2018, 10:55 AM
🇵🇰 Danish Khan 🇵🇰
🇵🇰 Danish Khan 🇵🇰 - avatar
+ 4
a{ cursor: crosshair; }
1st Jun 2020, 10:29 PM
Ashish
Ashish - avatar
+ 1
the answer: Make the cursor appear as a crosshair on all links of the web page: a { cursor : crosshair ; }
8th May 2020, 8:32 PM
MU'TAZ
MU'TAZ - avatar
+ 1
a { cursor : crosshair ; }
27th Dec 2020, 3:08 PM
Jeevanantham P
Jeevanantham P - avatar
+ 1
Make the cursor appear as a crosshair on all links of the web page: a { cursor : crosshair ; }
8th Jan 2021, 6:52 PM
mario
mario  - avatar
0
a{ cursor: crosshair; }
4th Jan 2022, 10:43 PM
Zewdu Sahele
- 1
Bro it's css tutorial if u can help
25th Dec 2018, 8:27 AM
Badshah
Badshah - avatar
- 1
Actually I need a one word or simble to idestify the content. Or then
25th Dec 2018, 8:27 AM
Badshah
Badshah - avatar
- 1
Yes it is CSS code that either goes in CSS file or <style> </style> tags in HTML file. As far as one word or symbol is concerned, I am not sure what you mean but I will try give answer if you use a : hover {/*your css code */}, it will apply to all links, <a href="xxx" > </a> .className : hover {/*css code */}, it will apply to all elements of class "className", this class name can be any thing you want. #idName : hover {/*css code*/}, it will apply to all elements of id "idName", this id name can be any thing you want. If you still don't get your answer please clarify your question. Answer would be : a, cursor, crosshair
29th Feb 2020, 7:47 PM
Faahim Sadman
Faahim Sadman - avatar