XenForo An effective avatar

AynaZ

Supervisor
  • Thread starter
  • Admin
  • #1
We'll give you a nice animation effect with your mouse on the avatar.
  • Simply paste the following css codes into the extra.less template of your theme.
CSS:
/*avatar animation*/
.message-avatar-wrapper .avatar:before,
.message-avatar-wrapper .avatar:after{
    border-color: #00c5de;
}
.message-avatar-wrapper a:before,
.message-avatar-wrapper a:after{
    content: "";
    display: block;
    position: absolute;
    background: transparent;
    top: 0; bottom: 0; left: 0; right: 0;
    border-radius: 5%; /*Do not touch this setting if you have an oval square or rectangle avatar. If you have an avatar, simply change the setting to "50%".*/
    transition: .3s all;
    border: 2px solid;
}
.message-avatar-wrapper a:hover:after{
   -webkit-transform: scale(1.5);
}
.message-avatar-wrapper a:hover:before{
    -webkit-transform: scale(2);
    transition: .3s all;
    opacity: 0;
}
/*avatar animation end*/
  • The preview is as follows.
an-effective-avatar.gif
 

XenForo

Administrative
how to edit rounded avater to square
194488-28bf3684fc24dd1d62e0ab433ce00ed6.png

It should work if you change it to 0.
 

Arash66

Registered
مثل مرجع شما میشه؟
برای اینکه مثل مرجع شما بشه عکس متحرک گذاشت که نمایش پیدا کنه امکانش هست بگید چطوری
؟
 
  • Tags
    an effective avatar an effective avatar xenforo tip an effective avatar tip an effective avatar xenforo آموزش متحرک کردن آواتار در زنفورو انجمن های پشتیبانی زنفورو
  • Back
    Top Bottom