2016-11-07 83 views
0

CSS:光标指针没有工作,但在工作的Safari和Firefox

  .load_more{ 
       width:100%; 
       height: 44px; 
       color: #fff; 
       background-color: #5dc7d0; 
       border:none; 
       border-radius: 5px; 
       font-family: $base-font; 
       font-size: 18px; 
       margin-top: 22px; 
       cursor: pointer 
      } 
+1

欢迎堆栈溢出!请参阅** [问] **和** [mcve] ** – Tushar

+1

它按预期工作。检查这个[** JSFIDDLE **](https://jsfiddle.net/b1uyt9tu/2/)。如果可能的话,请分享您的html代码 – brk

回答

0

做工精细你的代码。你可以测试所有浏览器

.load_more{ 
 
       width:100%; 
 
       height: 44px; 
 
       color: #fff; 
 
       background-color: #5dc7d0; 
 
       border:none; 
 
       border-radius: 5px; 
 
       font-family: $base-font; 
 
       font-size: 18px; 
 
       margin-top: 22px; 
 
       cursor: pointer 
 
      }
<div class="load_more"> 
 
    cursor pointer Div Here Mouser Hover 
 
</div>

-1

我们的代码工作正常,可能有一些其他的CSS覆盖乌尔CSS,U应检查elemnt和检查,还要检查下面的代码,看看它的工作原理对于ü

.load_more{ 
 
    width:100%; 
 
    height: 44px; 
 
    color: #fff; 
 
    background-color: #5dc7d0; 
 
    border:none; 
 
    border-radius: 5px; 
 
    font-family: $base-font; 
 
    font-size: 18px; 
 
    margin-top: 22px; 
 
} 
 
.load_more, .load_more a{ 
 
    cursor: pointer!important; 
 
}
<div class="load_more"> 
 
    im having some <a href="#">link</a> here 
 
</div>

相关问题