Ví dụ: http://www.chartjs.org/Fade trong phần tử trên cuộn xuống bằng css
Khi di chuyển xuống mỗi bài viết xuất hiện khi nó được trong giao diện cổng của trình duyệt. Css là
#examples article {
-webkit-transition: opacity 200ms ease-in-out;
-ms-transition: opacity 200ms ease-in-out;
-moz-transition: opacity 200ms ease-in-out;
-o-transition: opacity 200ms ease-in-out;
transition: opacity 200ms ease-in-out;
position: relative;
margin-top: 20px;
clear: both;
}
Tôi đã thử css nhưng không hoạt động. Có một số javascript mà làm việc cùng với css? Làm thế nào tôi có thể đạt được loại scroll-> fadeIn có hiệu lực?
Hãy thử với [JQuery Waypoints] (http://imakewebthings.com/ jquery-waypoints /). – Vucko