WordPress Modified Comments The head is circular and rotate the method

Source: Internet
Author: User
Keywords WordPress

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

Use WordPress Blog After we often need to make a variety of themes to achieve their desired effect, the following rabbit to share with everyone under the blog comments using CSS to circle the head and create a circle of rotation painting.

Find the style.css of your topic, and add the following code at the bottom. (IE browser does not support rotation)

. avatar{

/* Set round/*

border-radius:60px;

-webkit-border-radius:60px;

-moz-border-radius:60px;

Box-shadow:inset 0-1px 0 #3333sf;

-webkit-box-shadow:inset 0-1px 0 #3333sf;

Transition:transform 0.5s ease-out;

-webkit-transition:0.5s ease-out;

-moz-transition:-moz-transform 0.5s ease-out;

. avatar:hover{

/* Rotary Animation/*

box-shadow:0 0 10px #fff; Rgba (255,255,255,.6), inset 0 0 20px Rgba (255,255,255,1);

-webkit-box-shadow:0 0 10px #fff; Rgba (255,255,255,.6), inset 0 0 20px Rgba (255,255,255,1);

Transform:rotatez (360DEG);

-webkit-transform:rotatez (360DEG);

-moz-transform:rotatez (360deg);}

Save, refresh, the effect came out.

The above content is sorted by Rabbit blog, welcome reprint.

Original link: http://www.lyz.me/wordpress-avatar.html

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.