├── yinghua.gif ├── image ├── yinghua.jpg └── yinghua.png ├── css └── yinghua.css ├── html └── yinghua.html ├── README.md └── js └── yinghua.js /yinghua.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jingegebuguai/Cherry_Blossoms/HEAD/yinghua.gif -------------------------------------------------------------------------------- /image/yinghua.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jingegebuguai/Cherry_Blossoms/HEAD/image/yinghua.jpg -------------------------------------------------------------------------------- /image/yinghua.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jingegebuguai/Cherry_Blossoms/HEAD/image/yinghua.png -------------------------------------------------------------------------------- /css/yinghua.css: -------------------------------------------------------------------------------- 1 | body{ 2 | /*max-width:100%;*/ 3 | background: black; 4 | box-sizing: border-box; 5 | } 6 | img{ 7 | width:50px; 8 | height:50px; 9 | margin-top:-5%; 10 | opacity: 0.5; 11 | position: absolute; 12 | z-index: 99; 13 | /*-webkit-transform:rotate3d(.6,1,.6,45deg);*/ 14 | /*-moz-transform:rotate3d(.6,1,.6,45deg);*/ 15 | /*-ms-transform:rotate3d(.6,1,.6,45deg);*/ 16 | /*-o-transform:rotate3d(.6,1,.6,45deg);*/ 17 | /*transform:rotate3d(.6,1,.6,45deg);*/ 18 | 19 | } -------------------------------------------------------------------------------- /html/yinghua.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
5 |
7 |
20 |
');
50 | $('#yinghua:last-child').css({
51 | 'margin-left': margin_left + '%',
52 | 'width': image_daxiao + 'px',
53 | 'height': image_daxiao + 'px'
54 | });
55 | $('#yinghua:last-child').animate({
56 | left: -15 + '%',
57 | top: 100 + '%',
58 | deg: -540
59 | },
60 | {
61 | step: function (deg) {
62 | //console.log(deg);
63 | $(this).css({"transform": "rotate3d(1,.2,0," + deg + "deg)"});
64 | },
65 | duration: time
66 | }, time);
67 | setTimeout(function () {
68 | $('#yinghua:first-child').remove();
69 | }, time-5000);
70 | }, par.interval);
71 | }
72 | })
73 | }
74 | });
75 |
76 |
77 |
--------------------------------------------------------------------------------