css3 - How to avoid this flash of purple on Chrome when using transitions? -


the problem here http://rohitarondekar.com/articles (and on every page of site). when load page in chrome, links go purple intended color. if don't see problem try hard refresh. don't know if bug or problem css. i've included small snippet of relevant css follows:

/* * reset */  * {   margin: 0;   padding: 0; }  {   color:  #999;   text-decoration: none;    -webkit-transition-duration: 500ms;   -webkit-transition-property: background, color;   -webkit-transition-timing-function: ease;     -moz-transition-duration: 500ms;   -moz-transition-property: background, color;   -moz-transition-timing-function: ease;    -o-transition-duration: 500ms;   -o-transition-property: background, color;   -o-transition-timing-function: ease;    transition-duration: 500ms;   transition-property: background, color;   transition-timing-function: ease; }  a:hover {   color: #0077cc;   padding-bottom: 2px;   border-bottom: solid 1px #ccc; }  h1 {   font-family: georgia, "nimbus roman no9 l", serif;     color: #6a6a6a; }   h1 a:hover {   color: #0077cc;   border-bottom: 0; }  nav ul li a#active {   color: #555; }  nav ul li a#active:hover {   color: #0077cc; }  section#content {   color: #0077cc; }  section#content a:hover {   color: #6a6a6a;   background-color: #f0f0f0;   border-bottom: 0; }  footer {   color: #eee; }  footer a:hover {   color: #222;   background-color: #eee;   border-bottom: 0; } 

i believe problem since i've visited links already, links transition purple specific color because of css3 transition property.

the version of chrome i'm on 7.0.517.44 on ubuntu 64-bit. how can avoided appreciated. if need other info ask. thanks!

i don't see on 7.0.517.44 mac, however, may try stating visited color explicitly:

a:visited {    color: #0077cc; } 

your transition declarations me.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -