【发布时间】:2015-07-19 09:19:43
【问题描述】:
我有一千个使用 css3 的 mask 属性被 png 图像屏蔽的文本链接,我想从被 png mask 隐藏的链接中删除命中, 下面是两张图片,第一张是没有遮罩的链接,第二张是带有png图像的遮罩链接,我的问题是所有链接的点击区域都处于活动状态,包括带有遮罩的隐藏链接,有办法存档吗?
.container {
-webkit-mask: url(../images/mask.png) top left;
mask: url(../images/mask.png);
}
.tweets {
width: 400px;
height: 400px;
-webkit-mask: url("http://asesoriait.net/images/mask.png") top left;
mask: url("http://asesoriait.net/images/mask.png") top left;
}
<div class="tweets masonry js-masonry hidden" id="tweets">
<a class="txtExtra" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
<a class="txtExtra tooltipstered" href="#">@</a>
<a class="txtSmall tooltipstered" href="#">@</a>
<a class="txtBig tooltipstered" href="#">@</a>
</div>
【问题讨论】:
-
没有看到代码(或者至少是一个小演示)是不可能提供建议的。
-
你不能只在容器上使用border-radius和
overflow:hidden;来剪辑链接吗? -
我需要最低限度的演示...不是指向我将来无法使用的活动页面的链接。
-
@web-tiki 这只是一个简单的演示,蒙版的图像真的很不规则,不是圆形
-
@xzegga 好的,我明白了,请插入一个最小的代码示例来重现您的问题,如 Paulie_D 所说,以便我们提供帮助。