Jump to content



Photo

blink when color change in link button


  • Please log in to reply
1 reply to this topic

#1 ACTIONpack

ACTIONpack

    Graphic Designer

  • Tech Issues Solved: 1
  • Joined: 10-August 03
  • Location: Lawrenceville, GA
  • OS: Windows 8.1 Pro
  • Phone: Nokia Lumia 925 (T-Mobile)

Posted 01 October 2012 - 19:09

When I rollover the VIEW NEWSSTAND is blink for a MSecond and the color change. Any reason Why it's doing that?

http://www.imagraphi...com/roma/html5/

<div class="index-blog-button"><a href="" title="Newsstand">View Newsstand</a></div>


.index-blog-button {
position:relative;
text-align:center;
top:320px;
}

.index-blog-button a {
font-family:Bold, Arial, Helvetica, sans-serif;
font-size:14px;
text-decoration:none;
color:white;
padding:8px 20px;

transition: background-color .2s ease-out;
background-clip: padding-box; /* Fix bleeding */
border-radius: 4px;
-moz-border-radius: 6px;

-webkit-transition: background 100ms ease-in;
-moz-transition: background 100ms ease-in;
-ms-transition: background 100ms ease-in;
-o-transition: background 100ms ease-in;
transition: background 100ms ease-in;

box-shadow: 0 1px 0 rgba(0, 0, 0, .3),
0 2px 2px -1px rgba(0, 0, 0, .5),
0 1px 0 rgba(255, 255, 255, .3) inset;

background-color: #bc282e; /* Old browsers */
background: -moz-linear-gradient(top,  #bc282e 0%, #85171a 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#bc282e), color-stop(100%,#85171a)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  #bc282e 0%,#85171a 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  #bc282e 0%,#85171a 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  #bc282e 0%,#85171a 100%); /* IE10+ */
background: linear-gradient(to bottom,  #bc282e 0%,#85171a 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bc282e', endColorstr='#85171a',GradientType=0 ); /* IE6-9 */
}

.index-blog-button a:hover {
background: #AF030F;
}

.index-blog-button a:active {
  background: #960311;
  position: relative;
  top: 1px;
  text-shadow: none;
  box-shadow: 0 2px 2px rgba(0, 0, 0, .5) inset;
}





#2 +SoapyHamHocks

SoapyHamHocks

    Neowinian Senior

  • Joined: 06-March 04

Posted 02 October 2012 - 01:57

I tested and did not experience any blinking however you cannot transition gradients. If you want some kind of hover transition on that button I suggest you do some overlay gradient using background-image, then change the background-color rather than just background.



Click here to login or here to register to remove this ad, it's free!