繁体   English   中英

将HTML代码结果另存为.gif或其他视频

[英]Save html code result as .gif or other video

因此,这听起来似乎有些奇怪,但是这里是:我有一些HTML代码。 在HTML中,我使用CSS旋转图像。 因此,我想以某种方式将此旋转图像另存为.gif或其他视频。 这可能吗?

码:

  <style> @-webkit-keyframes spin { from { -webkit-transform: rotate(0deg); } to { -webkit-transform: rotate(360deg); } } @-moz-keyframes spin { from { -moz-transform: rotate(0deg); } to { -moz-transform: rotate(360deg); } } #loading { height:300px; width:300px; border-radius: 150px; -webkit-border-radius: 150px; -moz-border-radius: 150px; box-shadow: 0 0 8px rgba(0, 0, 0, .8); -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, .8); -moz-box-shadow: 0 0 8px rgba(0, 0, 0, .8); animation-name: spin; animation-iteration-count: infinite; animation-timing-function: linear; animation-duration: 26s; animation-play-state: running; -webkit-animation-name: spin; -webkit-animation-iteration-count: infinite; -webkit-animation-timing-function: linear; -webkit-animation-duration: 26s; -webkit-animation-play-state: running; -moz-animation-name: spin; -moz-animation-iteration-count: infinite; -moz-animation-timing-function: linear; -moz-animation-duration: 26s; -moz-animation-play-state: running; } </style> <center> <img src="http://hd.wallpaperswide.com/thumbs/fire_fist_vs_water_fist-t2.jpg" id="loading"> </center> 

任何帮助表示赞赏!

除了获取屏幕记录软件(例如Camtasia),进行记录,剪切,然后使用在线转换器将其转换为gif之外,我没有其他任何方法。

也许其中一个答案将对您有所帮助。 (或者可能不是哈哈)

使用HTML5画布生成动画GIF

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM