当前位置:Gxlcms > html代码 > 如何让鼠标悬停到a标签上后变成手形?_html/css_WEB-ITnose

如何让鼠标悬停到a标签上后变成手形?_html/css_WEB-ITnose

时间:2021-07-01 10:21:17 帮助过:316人阅读

a标签代码如下:
  • 按图标显示
  • 按详细列表显示

  • 我在CSS里规定了
    a:link {	text-decoration: none;}a:visited {	text-decoration: none;}a:hover {	color: #515151;}a:active {	text-decoration: none;}

    但不知为什么对这两个a标签不起效果


    回复讨论(解决方案)

    a {
    cursor:pointer;
    }

    或者

    加上href属性

    a {
    cursor:pointer;
    }

    或者
    ++++++++

    a {
    cursor:pointer;
    }

    人气教程排行