<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Css on MoeJue&#39;s Blog</title>
    <link>https://en.moejue.cn/categories/css/</link>
    <description>Recent content in Css on MoeJue&#39;s Blog</description>
    <generator>Hugo -- 0.151.2</generator>
    <language>en</language>
    <lastBuildDate>Wed, 16 May 2018 11:58:08 +0000</lastBuildDate>
    <atom:link href="https://en.moejue.cn/categories/css/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>CSS3 Random Background Image Switching Effect</title>
      <link>https://en.moejue.cn/posts/4/</link>
      <pubDate>Wed, 16 May 2018 11:58:08 +0000</pubDate>
      <guid>https://en.moejue.cn/posts/4/</guid>
      <description>&lt;p&gt;css3 random background image fade switching effects demo effect as shown in the background of this article
See you pick my fantasy field of secondary limited edition pick more tired, pick a half an hour, take the time to organize and send it out!
design was originally intended to use jQuery to achieve, but noticed the css3 @keyframes rule, css3 has been so powerful that once only js can achieve the effect!&lt;/p&gt;</description>
    </item>
    <item>
      <title>Simple css3 avatar rotation and 3D rotation effect</title>
      <link>https://en.moejue.cn/posts/39/</link>
      <pubDate>Mon, 10 Jul 2017 07:45:23 +0000</pubDate>
      <guid>https://en.moejue.cn/posts/39/</guid>
      <description>&lt;p&gt;You often see comment sections on some websites, where the commenter&amp;rsquo;s avatar will rotate 360° when the mouse passes over it.&lt;/p&gt;
&lt;p&gt;Let’s take a look at the effect first&lt;/p&gt;
&lt;p&gt;.tximg{ height:300px; border-radius:50%; border:2px solid green; /*Change rules*/ transition:all 2s; } .tximg:hover{ /* Change action defines 2d rotation, parameter fills in angle */ transform:rotate(360deg); } &lt;img loading=&#34;lazy&#34; src=&#34;https://image.baidu.com/search/down?url=https://tva1.sinaimg.cn//large/0072Vf1pgy1fqjenq0ztrj30hs0hsmyu.jpg&#34;&gt;&lt;/p&gt;
&lt;p&gt;css part&lt;/p&gt;
&lt;p&gt;img{
height:300px;
border-radius:50%;
border:2px solid green;
/*Change rules*/
transition:all 2s;
}&lt;/p&gt;
&lt;p&gt;img:hover{
/*
change action
Define 2d rotation, fill in the angle as a parameter
*/
transform:rotate(360deg);
}&lt;/p&gt;</description>
    </item>
    <item>
      <title>Draw iPhone with CSS3</title>
      <link>https://en.moejue.cn/posts/29/</link>
      <pubDate>Mon, 03 Jul 2017 06:09:01 +0000</pubDate>
      <guid>https://en.moejue.cn/posts/29/</guid>
      <description>&lt;p&gt;Let’s take a sneak peek at the renderings first. (This is definitely not a picture. Well~ why are these words so weird~)&lt;/p&gt;
&lt;p&gt;Don&amp;rsquo;t ask me how much my iPhone is, because I don&amp;rsquo;t know, I haven&amp;rsquo;t used it, so you know.&lt;/p&gt;
&lt;p&gt;&lt;img loading=&#34;lazy&#34; src=&#34;https://image.baidu.com/search/down?url=https://tva1.sinaimg.cn//large/0072Vf1ply1fqi8i9h7fvj308j0fa747.jpg&#34;&gt;
css style part&lt;/p&gt;
&lt;p&gt;#phone{
width:250px;
height:500px;
background-color:#2E2E2E;
border:10px solid #3B3B3B;
margin:100px auto;
border-radius:30px;/*Set the rounded border of the div element*/
}&lt;/p&gt;
&lt;p&gt;#camera{
width:8px;
height:8px;
background-color:#1A1A1A;
border-radius:50%;
border:2px solid #505050;
margin:10px auto;/*10px from top margin, left and right center*/
}&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
