CSS LINK BUTTONS AND CURSOR

If you want CSS for a link/button with a pointer curesor, use:

<a href="#" class="link-button">Click Here</a>
.link-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    cursor: pointer;
}

.link-button:hover {
    background-color: #0056b3;
}

For a normal link

a {
    color: blue;
    cursor: pointer;
    text-decoration: underline;
}

a:hover {
    color: red;
}

Common cursor values

cursor: pointer;   /* Hand */
cursor: default;   /* Normal arrow */
cursor: not-allowed;
cursor: grab;
cursor: text;
cursor: wait;

For a clickable button, cursor: pointer; is usually what you want.

Comments