Vildbas
New Member
My first thread!
I want my <article> to slightly get a white background when being hovered. Think it's called a transition? I've tried this in CSS3 without result:
The background just gets white instantly. Why?![Eek! :eek: :eek:](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
/Emil, Sweden
I want my <article> to slightly get a white background when being hovered. Think it's called a transition? I've tried this in CSS3 without result:
HTML:
article:hover {
moz-transition:background-color 2s linear;
webkit-transition:background-color 2s linear;
background:rgba(255,255,255,1);
padding:5px;
margin:10px;
-webkit-border-radius:20px;
-moz-border-radius:20px;
The background just gets white instantly. Why?
/Emil, Sweden