小编Jos*_*ues的帖子

制作一个html svg对象也是一个可点击的链接(在iPhone上)

这个问题与使一个html svg对象也是一个可点击链接相同,但给出的答案似乎不适用于iPhone ios 9.3(safari和chrome浏览器).我重新问这个问题,希望它们是解决问题的新方法或适应iPhone的答案.

此外,<object>在我的情况下,使用标签以外的标签是不可能的.

CSS

.tab-svg-link {
    display: block;
    z-index: 1;/*added this to test if it fixes the problem*/

    overflow: hidden;
    float: left !important;
    width: 325px;
    height: 280px;
    padding-right: 10px;
    padding-left: 15px;
    padding-top: 20px;
}

.tab-svg-object{
   z-index: -1;/*added this to test if it fixes the problem*/
   pointer-events: none;
}

/*update 3 -- added containing divs for code completion */

.index-container {
     padding: 15px 20px;
}

.layout-content {
     margin-top: 75px;
}
Run Code Online (Sandbox Code Playgroud)

HTML

<body>
    <div class="layout-content container"> …
Run Code Online (Sandbox Code Playgroud)

html css iphone svg

7
推荐指数
1
解决办法
2382
查看次数

如何将旋转木马效果应用于Bootstrap中的表?

我们可以通过向表添加表响应类来使表可滚动,但是我们如何循环它以便一旦循环结束,第一列将跟随最后一列,就像它是相邻列一样.(当我们应用选框时不会发生这种情况)

javascript jquery html5 css3 twitter-bootstrap-3

1
推荐指数
1
解决办法
2733
查看次数

标签 统计

css ×1

css3 ×1

html ×1

html5 ×1

iphone ×1

javascript ×1

jquery ×1

svg ×1

twitter-bootstrap-3 ×1