Jon Combe | Code | HTML clocks using JavaScript and CSS rotation 次ã®ãããªãCSSã®rotationã使ã£ãã¢ããã°ï¼ãã¸ã¿ã«æè¨å®è£ ä¾ãå ¬éããã¦ãã¾ãã Flashã£ã½ãã®ã§ãããFlashã¯ä¸å使ã£ã¦ãã¾ããã å·¦ã®ã¢ããã°æè¨ãããã®ã§ãããå³ã®ãã¸ã¿ã«æè¨ãåå¾ã®åã¨ç§ãè¥å¹²rotateããã¦è¡¨ç¤ºããã¦ãã®ãã¯ã¼ã«ã§ããã ãããããã¨ãåºæ¥ããã ãã¨ãããã¨ã§ä¸åº¦è¦ã¦ããã¦ãããããã§ãã å®è£ ã§ãããJavaScript ã«ãã£ã¦æ¬¡ã®ããã«CSSã®rotateããããã£ãsetIntervalã§å®æçã«ãã¦ã¦ãã£ã¦ãã ãã®ããã§ãã -webkit-transform: rotate(42deg); -moz-transform: rotate(42deg); ãã®ããããã£ããªãã£ããããªã大å¤ããã§ãããã
{{#tags}}- {{label}}
{{/tags}}