如何添加锚符号
How to add anchor symbol
我想在鼠标悬停在 angular 时向我的 url 添加一个锚点符号。这是我的代码,
<a ng-click="download(File)"><img src="images/filePic.png"/>{{filename}}</a>
也许这样
⚓ {{filename}}
<a ng-click="download(File)">⚓ <img src="images/filePic.png"/>{{filename}}</a>
使用 CSS 悬停更新
a:hover:after {
content: ' 93'
}
<a ng-click="download(File)"><img src="http://placehold.it/15x15"/> some filename</a>
使用 CSS 悬停光标更新 2
a:hover {
cursor: url('https://onedrive.live.com/download?resid=EC849DFEDB797EB9!1066&authkey=!AEmDTZM6b8_Ies0&ithint=file%2ccur'),auto;
}
<a ng-click="download(File)"><img src="http://placehold.it/15x15"/> some filename</a>
<br><br>
Note there is a small delay (first time hovering) from OneDrive before the anchor shows
我想在鼠标悬停在 angular 时向我的 url 添加一个锚点符号。这是我的代码,
<a ng-click="download(File)"><img src="images/filePic.png"/>{{filename}}</a>
也许这样
⚓ {{filename}}
<a ng-click="download(File)">⚓ <img src="images/filePic.png"/>{{filename}}</a>
使用 CSS 悬停更新
a:hover:after {
content: ' 93'
}
<a ng-click="download(File)"><img src="http://placehold.it/15x15"/> some filename</a>
使用 CSS 悬停光标更新 2
a:hover {
cursor: url('https://onedrive.live.com/download?resid=EC849DFEDB797EB9!1066&authkey=!AEmDTZM6b8_Ies0&ithint=file%2ccur'),auto;
}
<a ng-click="download(File)"><img src="http://placehold.it/15x15"/> some filename</a>
<br><br>
Note there is a small delay (first time hovering) from OneDrive before the anchor shows