简体   繁体   English

CSS-滑动文本

[英]CSS - Sliding in text

I have a website an I am trying to replicate the 'sliding in' of text as shown here: 我有一个网站,我正在尝试复制文本的“插入”,如下所示:

https://tictail.com/

When the user starts to scroll, the text on that page slides in from the left. 当用户开始滚动时,该页面上的文本将从左侧滑入。

I've tried taking a look at the JavaScript files that are being loaded but no use. 我尝试查看正在加载但没有用的JavaScript文件。

My application is using AngularJS, so it would be nice to stick with this librabry, rather than having to us jQuery and jQuery ui. 我的应用程序使用的是AngularJS,因此最好坚持使用这种librabry,而不需要使用jQuery和jQuery ui。

Thanks 谢谢

Ended up using this plugin. 最终使用了这个插件。

Is really easy to import, just a CSS file and .js file. 确实很容易导入,只需一个CSS文件和.js文件即可。

http://jackonthe.net/css3animateit/ http://jackonthe.net/css3animateit/

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

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