Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/72.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html 使用Css旋转打开Chrome文本Flickr';背面可见性';让事情变得更糟_Html_Css_Twitter Bootstrap_Google Chrome - Fatal编程技术网

Html 使用Css旋转打开Chrome文本Flickr';背面可见性';让事情变得更糟

Html 使用Css旋转打开Chrome文本Flickr';背面可见性';让事情变得更糟,html,css,twitter-bootstrap,google-chrome,Html,Css,Twitter Bootstrap,Google Chrome,首先,这里是小提琴: 我使用CSS在悬停时旋转图标。我尝试使用“webkit背面可见性:隐藏”和“-webkit字体平滑:抗锯齿;”。它们只是让文字变得厚重难看 代码如下: <div class="container"> <div class="row"> <div class="blog-item col-lg-4 col-md-4 col-sm-4"> <div class="i

首先,这里是小提琴:

我使用CSS在悬停时旋转图标。我尝试使用“webkit背面可见性:隐藏”和“-webkit字体平滑:抗锯齿;”。它们只是让文字变得厚重难看

代码如下:

<div class="container">
        <div class="row">
            <div class="blog-item col-lg-4 col-md-4 col-sm-4">
                <div class="image">
                    <img src="http://3.bp.blogspot.com/-E3B9ce7Ck20/UFBfFrkbV8I/AAAAAAAADX8/fFMHEyZcZDg/s400/Animated-Wallpapers.jpg">
                    <div class="overlay">
                        <a href="#">
                            <i class="fa fa-plus"></i>
                        </a>
                    </div><!-- /.overlay -->
                    </div><!-- /.image -->
                    <h3>Welcome to A Safer World</h3>
                    <p>Lorem ipsum dolor sit amet, consectetur </p>
            </div><!-- /.blog-item -->
        </div><!-- /.row -->
    </div><!-- /.container -->

chrome将使用37版的DirectWrite,在此之前,大多数WD都知道它无法正确呈现字体

这里讨论的是:

还有一个问题有详细的答案:


尝试更改字体系列,将其更改为sans sarif或 试试其他字体


事实证明,这种闪烁只发生在JSFIDLE上,我的文本flickr问题影响了其他元素()。我确实通过为.image容器添加“overflow:hidden”解决了这个问题。如果你能在JSFIDLE上找到flickr的解决方案,那就太好了。不,这并没有解决我的flickr问题。暂时解决了,现在出现了,请详细说明!当它闪烁时?@Eirenaios:当我在主div上悬停时,请检查链接:timekill.in/test/with-backface/flickr.html和fiddle
.blog-item{
overflow: hidden;
}
.image{
position: relative;
overflow: hidden;
}
.image .overlay{
position: absolute;
width: 100%;
height: 100%;
background-color: #49c8ff;
top: 0px;
opacity: 0;

transition:         all 400ms ease-in-out;
-moz-transition:    all 400ms ease-in-out;
-webkit-transition: all 400ms ease-in-out;
-o-transition:      all 400ms ease-in-out;
-ms-transition:     all 400ms ease-in-out;
}
.blog-item:hover .overlay{
opacity: 1;
}
.blog-item h3,
.blog-item p{
font-family: "Source Sans Pro";
font-weight: "400";   
 }
.overlay a{
width: 35px;
height: 35px;
border: 1px solid #fff;
position: absolute;
display: block;
margin: 0 auto;
left: 0px;
right: 0px;
border-radius: 100%;
top:30%;
text-align: center;

transition:         all 400ms ease-in-out;
-moz-transition:    all 400ms ease-in-out;
-webkit-transition: all 400ms ease-in-out;
-o-transition:      all 400ms ease-in-out;
-ms-transition:     all 400ms ease-in-out;
}
.image:hover a{
top: 40%;

-webkit-transform: rotate(180deg);
-moz-transform: rotate(180deg);
-o-transform: rotate(180deg);
-ms-transform: rotate(180deg);
transform: rotate(180deg);
}
.overlay a:hover{
background-color: #297595;
border: 1px solid #297595;
}
.overlay a i{
color: #fff;
position: relative;
top: 7px;
}
.blog-item h3, .blog-item p {
    font-family:sans-serif;
    font-weight: 400";

}