Page 1 of 1

[Snippet] CSS3 effect on buttons

Posted: 03 Dec 2011, 23:20
by FTH
Author : FTH
Compatibility : Firefox 4+, Internet Explorer 10, Chrome 10, Opera 11.1, Safari 5
Description : Add on rollover an effect made with CSS3

Open file styles/prosilver/theme/buttons.css

Find :

Code: Select all

.reply-icon span   { background: transparent none 0 0 no-repeat; }
.post-icon span      { background: transparent none 0 0 no-repeat; }
.locked-icon span   { background: transparent none 0 0 no-repeat; }
.pmreply-icon span   { background: none 0 0 no-repeat; }
.newpm-icon span    { background: none 0 0 no-repeat; }
.forwardpm-icon span    { background: none 0 0 no-repeat; }
Replace with :

Code: Select all

.reply-icon span   {
   background: transparent none 0 0 no-repeat;
   -webkit-transition:all 250ms linear;
   -moz-transition:all 250ms linear;
   -o-transition:all 250ms linear;
}
.post-icon span      {
   background: transparent none 0 0 no-repeat;
   -webkit-transition:all 250ms linear;
   -moz-transition:all 250ms linear;
   -o-transition:all 250ms linear;
}
.locked-icon span   {
   background: transparent none 0 0 no-repeat;
   -webkit-transition:all 250ms linear;
   -moz-transition:all 250ms linear;
   -o-transition:all 250ms linear;
}
.pmreply-icon span   {
   background: none 0 0 no-repeat;
   -webkit-transition:all 250ms linear;
   -moz-transition:all 250ms linear;
   -o-transition:all 250ms linear;
}
.newpm-icon span    {
   background: none 0 0 no-repeat;
   -webkit-transition:all 250ms linear;
   -moz-transition:all 250ms linear;
   -o-transition:all 250ms linear;
}
.forwardpm-icon span    {
   background: none 0 0 no-repeat;
   -webkit-transition:all 250ms linear;
   -moz-transition:all 250ms linear;
   -o-transition:all 250ms linear;
}

[Snippet] CSS3 effect on buttons

Posted: 03 Dec 2011, 23:24
by Mii
Can we preview it somewhere? thx.

[Snippet] CSS3 effect on buttons

Posted: 03 Dec 2011, 23:27
by FTH
http://www.graphogames.fr/demo/viewforum.php?f=2

past your mouse on button "newtopic" ;)

[Snippet] CSS3 effect on buttons

Posted: 03 Dec 2011, 23:28
by Stoker
Cool, I have installed it on the "prosilver" theme here.

[Snippet] CSS3 effect on buttons

Posted: 03 Dec 2011, 23:32
by Arnevb
Thanks! Looks awesome!

[Snippet] CSS3 effect on buttons

Posted: 03 Dec 2011, 23:32
by Vox Populi
I like!!! Great work.

[Snippet] CSS3 effect on buttons

Posted: 03 Dec 2011, 23:35
by Mii
Looks cool.

[Snippet] CSS3 effect on buttons

Posted: 04 Dec 2011, 00:43
by Terr0r
Looks cool but for me very annoying I had it on another forum

[Snippet] CSS3 effect on buttons

Posted: 04 Dec 2011, 01:07
by darkonia
amazing

[Snippet] CSS3 effect on buttons

Posted: 04 Dec 2011, 05:18
by Blackwolf
Nice. I use it but by KukY Not as much code.