我有一个asp.net网站,我有以下…
HTML格式:

<div style="width: 99%; margin: 0; padding: 0; text-align: left; overflow: hidden;">
            <div id="sample3" lang="is" class="sample3">

    <figure>
        <img src="../theImages/imgPra.png" width="160" height="160" alt="Specialty Profile" />
        <figcaption>Specialty Profile</figcaption>
    </figure>

<!--end sample3--></div>
        </div>

CSS:
.sample3 figure {
    width: 200px;
    height: 200px;
    overflow: hidden;
    position: relative;
    background: url('../theImages/preview4.jpg') fixed no-repeat;
}

.sample3 figcaption {
        position: absolute;
    display: block;
    width: 350px;
    height: 50px;
    left: 110px;
    bottom: -110px;
    text-align: center;
    color: #fff;
    background-color: rgba(26,54,59,0.8);
    border: 3px solid rgba(62,116,126,0.6);
    line-height: 50px;
    -moz-box-shadow: rgba(0,0,0,.5) 0 2px 8px;
    -webkit-box-shadow: rgba(0,0,0,.5) 0 2px 8px;
    box-shadow: rgba(0,0,0,.5) 0 2px 8px;
    -moz-transform:rotate(-45deg);
    -webkit-transform:rotate(-45deg);
    -o-transform:rotate(-45deg);
    transform:rotate(-45deg);
    -moz-transition: bottom .5s ease-out, left .5s ease-out;
    -webkit-transition: bottom .5s ease-out, left .5s ease-out;
    -o-transition: bottom .5s ease-out, left .5s ease-out;
    transition: bottom .5s ease-out, left .5s ease-out;
}

.sample3 figure:hover figcaption {
    left: -20px;
    bottom: 20px;
}

jsfiddle:http://jsfiddle.net/vas1watw/
它在普通网页上运行得很好,但是当我将它添加到.net网站时,功能区显示时没有动画。
我怎样才能解决这个问题。
调试模式:

最佳答案

你在使用sitemaster吗?如果你使用它,请在sitemaster上放置css

10-05 20:49
查看更多