Bootstrap 3 - CSS Hover Effect оставляет белую метку в браузере FirefoxCSS

Разбираемся в CSS
Ответить Пред. темаСлед. тема
Anonymous
 Bootstrap 3 - CSS Hover Effect оставляет белую метку в браузере Firefox

Сообщение Anonymous »

Я создал штуку изображения для моего веб -сайта, где появляется изображение. Что происходит, так это то, что когда я не сблются, появляется белая вещь, но когда я наведу его на другое изображение, он исчезает. Все это происходит только в Firefox. Вы хоть представляете, почему это происходит? И я должен что -то с этим сделать или просто позволить этому быть? хаха < /p>

Код: Выделить всё

#hover {
color: rgba(188, 175, 204, 0.9);
}

h2#testimonials {
color: #E72635;
}

div#all {
width: 100%;
height: 100%;
}

/* generic css */
.view {
margin: 10px;
float: left;
border: 10px solid #fff;
overflow: hidden;
position: relative;
text-align: center;
box-shadow: 1px 1px 2px #e6e6e6;
cursor: default;
background: #fff url(../images/bgimg.jpg) no-repeat center center
}
.view .mask, .view .content {
width: 300px;
height: 200px;
position: absolute;
overflow: hidden;
top: 0;
left: 0
}
.view img {
display: block;
position: relative
}
.view h2 {
text-transform: uppercase;
color: #fff;
text-align: center;
position: relative;
font-size: 17px;
font-family: "Josefin Slab","Helvetica Neue",Helvetica,Arial,sans-serif;
padding: 10px;
background: rgba(0, 0, 0, 0.8);
margin: 20px 0 0 0
}
.view p {
font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
font-style: italic;
font-size: 12px;
position: relative;
color: #fff;
padding: 0px 20px 0px;
text-align: center
}
.view a.info {
display: inline-block;
text-decoration: none;
padding: 7px 14px;
background: #000;
color: #fff;
font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
text-transform: uppercase;
box-shadow: 0 0 1px #000
}
.view a.info:hover {
box-shadow: 0 0 5px #000
}

/*2*/

.view-second img {
transition: all 0.2s ease-in;
-webkit-transition: all 0.2s ease-in;
}
.view-second .mask {
background-color: rgba(12, 19, 27, 0.6);
width: 400px;
padding: 105px;
height: 450px;
opacity: 0;
transition: all 0.2s ease-in-out 0s;
-webkit-transition: all 0.2s ease-in-out;
}
.view-second h2 {
border-bottom: 1px solid rgba(0, 0, 0, 0.3);
font-family: "Josefin Slab","Helvetica Neue",Helvetica,Arial,sans-serif;
background: transparent;
margin: 20px 40px 0px 40px;
opacity: 0;
color: #8F1925;
transform: scale(0);
transition: all 0.5s linear 0s;
}
.view-second p {
transform: scale(0);
transition: all 0.5s linear 0s;
}
.view-second a.info {
opacity: 0;
transform: scale(0);
transition: all 0.5s linear;
}

/* */

.view-second:hover .mask {
opacity:1;
transform: translate(-80px, -125px) rotate(45deg);
-webkit-transform: translate(-80px, -125px) rotate(45deg);
}

.view-second:hover h2,
.view-second:hover p,
.view-second:hover a.info{
transform: scale(1);
opacity: 3;
}

img#articlePic {
height: 200px;
width: 300px;
}< /code>








The University Digest

















The University Digest
The Official Student Publication of Western Mindanao State University










Articles


[img]https://i.sstatic.net/M6U3Oodp.png[/img]


Testimonials
“A description of some sort between these tags. I am so cool ye and awesomely awesome. He was cool.”
[url=#]Read More[/url]



[img]https://scontent-a-sea.xx.fbcdn.net/hphotos-xfp1/v/t1.0-9/s720x720/1901663_700339420055705_5885873089628748542_n.jpg?oh=7b7b915118cd985891cb8c9ae1fb22af&oe=550C2E8D[/img]


Testimonials
“A description of some sort between these tags. I am so cool ye and awesomely awesome.  He was cool.”
[url=#]Read More[/url]



[img]http://jacobstone.co.uk/Livetesting/guy.jpg[/img]


Testimonials
“A description of some sort between these tags. I am so cool ye and awesomely awesome. He was cool.”
[url=#]Read More[/url]



[img]http://jacobstone.co.uk/Livetesting/guy.jpg[/img]


Testimonials
“A description of some sort between these tags. I am so cool ye and awesomely awesome. He was cool.”
[url=#]Read More[/url]



[img]http://jacobstone.co.uk/Livetesting/guy.jpg[/img]


Testimonials
“A description of some sort between these tags. I am so cool ye and awesomely awesome. He was cool.”
[url=#]Read More[/url]



[img]http://jacobstone.co.uk/Livetesting/guy.jpg[/img]


Testimonials
“A description of some sort between these tags. I am so cool ye and awesomely awesome. He was cool.”
[url=#]Read More[/url]












Подробнее здесь: https://stackoverflow.com/questions/274 ... ox-browser
Реклама
Ответить Пред. темаСлед. тема

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

  • Похожие темы
    Ответы
    Просмотры
    Последнее сообщение

Вернуться в «CSS»