HTML5¼¼Êõ

svgʵÏÖ¼òµ¥É³Â©Ðýת - ʦÃöù

×ÖºÅ+ ×÷ÕߣºH5Ö®¼Ò À´Ô´£ºH5Ö®¼Ò 2017-07-01 08:00 ÎÒÒªÆÀÂÛ( )

svgʵÏÖ¼òµ¥É³Â©Ðýת svgʵÏÖ¼òµ¥É³Â©ÏÈ»­Ò»¸ö¼òµ¥µÄɳ©ÀýÈ磺 svg´úÂ룺.timerWrap { position: relative; animation: timerRotate 1s infinite ease; width: 120px; height: 160px; margin: auto; top: 40px;}@keyframes timerRotate { 0% {transform: ro

svgʵÏÖ¼òµ¥É³Â©Ðýת

svgʵÏÖ¼òµ¥É³Â© ÏÈ»­Ò»¸ö¼òµ¥µÄɳ© ÀýÈ磺

svg´úÂ룺 .timerWrap { position: relative; animation: timerRotate 1s infinite ease; width: 120px; height: 160px; margin: auto; top: 40px; } @keyframes timerRotate { 0% { transform: rotateZ(0deg); } 50% { transform: rotateZ(0deg); } 100% { transform: rotateZ(-180deg); } } ÍêÕû´úÂë <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> <style> body { background: #1a1a1a; } .timerWrap { position: relative; animation: timerRotate 1s infinite ease; width: 120px; height: 160px; margin: auto; top: 40px; } @keyframes timerRotate { 0% { transform: rotateZ(0deg); } 50% { transform: rotateZ(0deg); } 100% { transform: rotateZ(-180deg); } } </style> </head> <body> <div> <svg version="1.1" viewBox="131.623 175.5 120 160" preserveAspectRatio="xMinYMin meet"> <path fill="#3f6b9d" d="M212.922,255.45l36.855-64.492c1.742-3.069,1.742-6.836-0.037-9.896c-1.783-3.06-5.037-4.938-8.581-4.938 h-99.158c-3.524,0-6.797,1.878-8.569,4.938c-1.773,3.06-1.792,6.827-0.03,9.896l36.846,64.491l-36.845,64.492 c-1.762,3.068-1.743,6.836,0.03,9.896c1.772,3.061,5.044,4.938,8.569,4.938h99.158c3.544,0,6.798-1.878,8.581-4.938 c1.779-3.06,1.779-6.827,0.037-9.896L212.922,255.45z M142.001,324.86l39.664-69.41l-39.664-69.41h99.158l-39.663,69.41 l39.663,69.41H142.001z"/> </svg> </div> </body> </html> Ч¹ûͼ£º

posted @

¡¡

1.±¾Õ¾×ñÑ­ÐÐÒµ¹æ·¶£¬ÈκÎתÔصĸå¼þ¶¼»áÃ÷È·±ê×¢×÷ÕߺÍÀ´Ô´£»2.±¾Õ¾µÄÔ­´´ÎÄÕ£¬ÇëתÔØʱÎñ±Ø×¢Ã÷ÎÄÕÂ×÷ÕߺÍÀ´Ô´£¬²»×ðÖØÔ­´´µÄÐÐΪÎÒÃǽ«×·¾¿ÔðÈΣ»3.×÷ÕßͶ¸å¿ÉÄܻᾭÎÒÃDZ༭Ð޸Ļò²¹³ä¡£

Ïà¹ØÎÄÕÂ
  • svgʵÏÖ·Å´óЧ¹û - ʦÃöù

    svgʵÏÖ·Å´óЧ¹û - ʦÃöù

    2017-06-30 18:00

  • ÀûÓõ¥Æ¬»ú¿ìËÙʵÏÖ¼ÒÍ¥ÖÇÄÜ¿ØÖÆƽ̨ - СÎåÒå

    ÀûÓõ¥Æ¬»ú¿ìËÙʵÏÖ¼ÒÍ¥ÖÇÄÜ¿ØÖÆƽ̨ - СÎåÒå

    2017-06-29 18:00

  • css3ʵÏÖ¿ÉÒÔ¼ÆËãµÄ×ÔÊÊÓ¦²¼¾Ö¡ª¡ªcalc() - WEB´ó°×

    css3ʵÏÖ¿ÉÒÔ¼ÆËãµÄ×ÔÊÊÓ¦²¼¾Ö¡ª¡ªcalc() - WEB´ó°×

    2017-06-29 11:01

  • CSS3,transform3DÁ¢Ìå¿ÉÍÏקÕý·½ÌåʵÏÖÔ­Àí - ITandYT

    CSS3,transform3DÁ¢Ìå¿ÉÍÏקÕý·½ÌåʵÏÖÔ­Àí - ITandYT

    2017-06-28 14:02

ÍøÓѵãÆÀ
Æ