HTML代码:
————————————
CSS代码:
.yewei .xinxi { position: absolute; }
.yewei .xinxi h3 { width: 100px; height: 18px; font-size: 18px; font-weight: bold; color: #fff; margin-left: 359px; margin-top: 101px; }
.yewei .xinxi ul { margin-top: 25px; }
.yewei .xinxi ul li a { width: 64px; height: 14px; font-size: 14px; font-weight: 400; color: #fff; margin-left: 367px; margin-top: 8px; }
这是页尾第一个圈红部分区域的代码,页尾是一张底图,所以用了绝对定位,鼠标移上去没有手型,也不能点击。
这是友链的代码:
HTML:
——————————————————
CSS:
.yewei .youlian h3 { width: 95px; height: 23px; font-size: 20px; font-weight: 400; color: #fff; margin-left: 911px; margin-top: 326px; }
.yewei .youlian ul { text-align: center; display: flex; }
.yewei .youlian ul li { width: 100%; margin-top: 30px; }
.yewei .youlian ul li a { font-size: 14px; font-weight: 400; color: #fff; }
后面设定的友链也是这样的格式,却可以点击,这是为什么?两个都没有写cursor样式,想要上面那部分和友链这个一样可以点击,该怎么修改?