How to style css3 links without hands

WBOY
Release: 2022-03-28 18:59:05
Original
1791 people have browsed it

In CSS, you can use the cursor attribute to set the style without little hands on the link. This attribute is used to define the cursor shape used when the mouse pointer is placed within the boundary of an element. When the attribute value is set to default , the mouse style is a normal arrow style, and the syntax is "cursor:default;".

How to style css3 links without hands

The operating environment of this tutorial: Windows 10 system, CSS3&&HTML5 version, Dell G3 computer.

How to style css3 links without hands

The cursor attribute defines the cursor shape used when the mouse pointer is placed within the bounds of an element

  • default Default cursor (usually an arrow)

  • auto Default. The cursor set by the browser.

  • crosshair The cursor appears as a crosshair.

  • pointer The cursor appears as a pointer (a hand) indicating a link

  • ##move This cursor indicates that an object can be moved.

  • e-resize This cursor indicates that the edge of the rectangular box can be moved to the right (east).

  • ne-resize This cursor indicates that the edge of the rectangular box can be moved up and to the right (North/East).

  • nw-resize This cursor indicates that the edge of the rectangular box can be moved up and to the left (North/West).

  • n-resize This cursor indicates that the edge of the rectangular box can be moved up (north).

The example is as follows:

   123 

请把鼠标移动到单词上,可以看到鼠标指针发生变化:

这是一个已经设置完样式的链接
这是一个普通链接
Copy after login

Output result:

How to style css3 links without hands

(Learning video sharing:

css video Tutorial)

The above is the detailed content of How to style css3 links without hands. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
css
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!