How to make the click logo appear without a href in css/html?


Tags: html,css,html5,click

Problem :

Basically I want to make normal text clickable, but with that click mouse logo popping up! I can make the text clickable using 'onclick' but this doesn't give the text that hover like click logo.

Sorry for my noobiness



Solution :

Use CSS property cursor: pointer; to achieve desired result.

Edit: If you want to apply other styles when the user hovers over the text, then add selector to include pseudo selector :hover to style during mouse over.


    CSS Howto..

    How to Surround Links with Bounding Box Using CSS

    How to use CSS to ensure items remain offscreen even if window is resized?

    How to test .css file for syntax errors?

    How to change navbar background color after page has scrolled down

    How can I remove a parent with a certain child inside of it (media queries)

    how to center text vertically in html using css only

    How do I resize a div relative to browser window size?

    Do East Asian (e.g. Chinese) characters have baselines? How do they align with English in CSS?

    How to change style for before/after in Angular?

    How to override external css?

    CSS (or jQuery): How to set horizontal scrollbar in the middle position?

    How SCSS rule evaluation done by browser

    Show tooltip content when its hovers

    Styling Tables - How to use column groups to modify TH tag located in that column

    How to achieve the same background image effect made in other stack communities?

    How to force Visual Studio to honor the BOM at the start of a UTF-8 encoded CSS file?

    How to design multiple time clock wise rotation of a image in css

    How to edit a css file in ASP.NET using C# to change the website design

    How can I make uneven rows for a 2-column grid with Bootstrap/css?

    CSS: Changing div's property on another div's a:hover. Possible ? How?

    How to include CSS in laravel 5 running with artisan?

    How to hyperlink CSS-made images? [closed]

    how to show section of a CSS sprite within a set position on the whole html body

    How do I know which div was clicked?

    htmlAttributes: How do I add a CSS class rule for the below?

    how to show css text in html div

    Custom CSS Form: How to achieve responsive underlined textarea?

    How to print data from left to right in html using css

    How to make a button with nice border - inside class HTML / CSS

    How do I prevent this double hover?