Tag: css animations

使用CSS3动画扩展圆圈

我试图这样做,当页面加载圆圈出现,这是好的,但我需要它们向外生长,从中心到小到大,而不是从左上角: 你可以看到我目前在这里: http : //thomasbritton.co.uk/projects/ebrd/ 理想情况下,希望这可以在CSS中完成,但如果它更容易/更稳定,可以使用JS。 有任何想法吗? 这是动画部分我的css: .circle a { border-radius: 150px; color: #fff; height: 0; position: absolute; text-decoration: none; width: 0; } .circle a.grow { -webkit-animation-name: grow; -webkit-animation-duration: 2.2s; -webkit-animation-timing-function: ease; -webkit-animation-iteration-count: 1; -webkit-animation-direction: normal; -webkit-animation-delay: 0; -webkit-animation-play-state: running; -webkit-animation-fill-mode: forwards; -moz-animation-name: grow; -moz-animation-duration: 2.2s; -moz-animation-timing-function: ease; -moz-animation-iteration-count: 1; -moz-animation-direction: normal; -moz-animation-delay: 0; […]

如何在两个Bootstrap 3选项卡之间进行幻灯片动画?

我试图找出如何在两个Bootstrap 3选项卡之间左,右,上,下滑动。 我在网上搜索过,令人惊讶的是没有找到任何东西。 我发现最接近的是Bootstrap github上的这个。 但是,它处理Bootstrap 2.0.2并且不再适用于Bootstrap 3。 有谁知道如何在两个Bootstrap 3标签之间向左,向右,向下(任何或所有)滑动? 这是我正在使用的基本Bootstrap 3选项卡设置。 Home Profile Messages Settings home page content profile page content message page content settings content 我通过以下几种方式之一激活我的标签。 $(‘#myTab a[href=”#profile”]’).tab(‘show’) // Select tab by name $(‘#myTab a:first’).tab(‘show’) // Select first tab $(‘#myTab a:last’).tab(‘show’) // Select last tab $(‘#myTab li:eq(2) a’).tab(‘show’) // Select third tab (0-indexed) […]

CSS从角落动画中透露出来

我试图实现如下动画效果: 显示横幅时,应显示下一横幅的右下角。 单击此角时,应隐藏当前横幅并显示下一个横幅。 我目前的加价如下: CSS如下:注意我使用clip-path创建了一个角: .banners { width: 800px; height: 600px; } .image { width: 100%; height: 100%; position: absolute; left: 0; top: 0; } .image.active { z-index: 1; clip-path: polygon(100% 0, 100% 65%, 60% 100%, 0 100%, 0 0); } .corner { width: 50%; height: 50%; position: absolute; right: 0; bottom: 0; } JS: […]