bg.less 21 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189
  1. <!-- 背景动画 -->
  2. <view class="windmill">
  3. <view class="windmill__sun"></view>
  4. <view class="windmill__slice-4">
  5. <view></view>
  6. </view>
  7. <view class="windmill__slice-3">
  8. <view class="windmill__tree-left"></view>
  9. <view class="windmill__tree-right"></view>
  10. </view>
  11. <view class="windmill__slice-2">
  12. <view class="windmill__tree-right"></view>
  13. <view class="windmill__tree-middle"></view>
  14. <view class="windmill__tree-left"></view>
  15. </view><view class="windmill__clouds">
  16. <view class="windmill__cloud"></view>
  17. <view class="windmill__cloud"></view>
  18. <view class="windmill__cloud"></view>
  19. <view class="windmill__cloud"></view>
  20. <view class="windmill__cloud"></view>
  21. <view class="windmill__cloud"></view>
  22. </view>
  23. <!-- <view class="windmill__windmill">
  24. <view class="windmill__blades">
  25. <view class="windmill__blade"></view>
  26. <view class="windmill__blade"></view>
  27. <view class="windmill__blade"></view>
  28. <view class="windmill__blade"></view>
  29. </view>
  30. </view> -->
  31. <view class="windmill__snowflakes">
  32. <view class="windmill__snowflake"></view>
  33. <view class="windmill__snowflake"></view>
  34. <view class="windmill__snowflake"></view>
  35. <view class="windmill__snowflake"></view>
  36. <view class="windmill__snowflake"></view>
  37. <view class="windmill__snowflake"></view>
  38. <view class="windmill__snowflake"></view>
  39. <view class="windmill__snowflake"></view>
  40. <view class="windmill__snowflake"></view>
  41. <view class="windmill__snowflake"></view>
  42. <view class="windmill__snowflake"></view>
  43. <view class="windmill__snowflake"></view>
  44. <view class="windmill__snowflake"></view>
  45. <view class="windmill__snowflake"></view>
  46. <view class="windmill__snowflake"></view>
  47. <view class="windmill__snowflake"></view>
  48. <view class="windmill__snowflake"></view>
  49. <view class="windmill__snowflake"></view>
  50. <view class="windmill__snowflake"></view>
  51. <view class="windmill__snowflake"></view>
  52. <view class="windmill__snowflake"></view>
  53. <view class="windmill__snowflake"></view>
  54. </view>
  55. </view>
  56. .windmill {
  57. position: absolute;
  58. width: 100%;
  59. height: 100vh;
  60. margin: auto;
  61. overflow: hidden;
  62. background: #649ECD;
  63. left: 0;
  64. top: 0;
  65. z-index: 100;
  66. }
  67. .windmill__sun {
  68. position: absolute;
  69. height: 30px;
  70. width: 30px;
  71. top: 6%;
  72. left: 20%;
  73. border-radius: 100%;
  74. background: #B6E2FF;
  75. box-shadow: 0 0 300px 80px #B6E2FF, 0 0 200px 40px #B6E2FF, 0 0 50px 10px #B6E2FF;
  76. }
  77. .windmill__slice-4 {
  78. position: absolute;
  79. width: 0;
  80. height: 0;
  81. top: 179px;
  82. left: 105px;
  83. border-left: 300px solid transparent;
  84. border-right: 300px solid transparent;
  85. border-bottom: 250px solid #649ECD;
  86. }
  87. .windmill__slice-4:after {
  88. content: '';
  89. position: absolute;
  90. width: 0;
  91. height: 0;
  92. top: 55px;
  93. left: -70px;
  94. border-left: 180px solid transparent;
  95. border-right: 180px solid transparent;
  96. border-bottom: 195px solid #649ECD;
  97. }
  98. .windmill__slice-4:before {
  99. content: '';
  100. position: absolute;
  101. width: 0;
  102. height: 0;
  103. top: 80px;
  104. left: 60px;
  105. border-left: 120px solid transparent;
  106. border-right: 120px solid transparent;
  107. border-bottom: 170px solid #649ECD;
  108. }
  109. .windmill__slice-4 div {
  110. position: absolute;
  111. width: 0;
  112. height: 0;
  113. top: 95px;
  114. left: -392px;
  115. border-left: 170px solid transparent;
  116. border-right: 170px solid transparent;
  117. border-bottom: 155px solid #649ECD;
  118. }
  119. .windmill__slice-4 div:after {
  120. content: '';
  121. position: absolute;
  122. width: 0;
  123. height: 0;
  124. top: 20px;
  125. left: -115px;
  126. border-left: 150px solid transparent;
  127. border-right: 150px solid transparent;
  128. border-bottom: 135px solid #649ECD;
  129. }
  130. .windmill__slice-4 div:before {
  131. content: '';
  132. position: absolute;
  133. width: 0;
  134. height: 0;
  135. top: -38px;
  136. left: -105px;
  137. border-left: 220px solid transparent;
  138. border-right: 220px solid transparent;
  139. border-bottom: 195px solid #649ECD;
  140. }
  141. .windmill__slice-3 {
  142. position: absolute;
  143. width: 0;
  144. height: 0;
  145. bottom: 0;
  146. left: -15px;
  147. border-left: 320px solid transparent;
  148. border-right: 320px solid transparent;
  149. border-bottom: 150px solid #6096C4;
  150. }
  151. .windmill__slice-3:after {
  152. content: '';
  153. position: absolute;
  154. width: 0;
  155. height: 0;
  156. top: 23px;
  157. left: -78px;
  158. border-left: 3px solid transparent;
  159. border-right: 3px solid transparent;
  160. border-bottom: 15px solid #6096C4;
  161. }
  162. .windmill__slice-3:before {
  163. content: '';
  164. position: absolute;
  165. width: 0;
  166. height: 0;
  167. top: 31px;
  168. left: 89px;
  169. border-left: 3px solid transparent;
  170. border-right: 3px solid transparent;
  171. border-bottom: 15px solid #6096C4;
  172. }
  173. .windmill__slice-3 .windmill__tree-right {
  174. position: absolute;
  175. width: 0;
  176. height: 0;
  177. top: 2px;
  178. left: 33px;
  179. border-left: 5px solid transparent;
  180. border-right: 5px solid transparent;
  181. border-bottom: 20px solid #6096C4;
  182. opacity: .5;
  183. }
  184. .windmill__slice-3 .windmill__tree-right:after {
  185. content: '';
  186. position: absolute;
  187. width: 0;
  188. height: 0;
  189. top: 15px;
  190. left: 36px;
  191. border-left: 7px solid transparent;
  192. border-right: 7px solid transparent;
  193. border-bottom: 25px solid #6096C4;
  194. }
  195. .windmill__slice-3 .windmill__tree-right:before {
  196. content: '';
  197. position: absolute;
  198. width: 0;
  199. height: 0;
  200. top: -2px;
  201. left: -19px;
  202. border-left: 4px solid transparent;
  203. border-right: 4px solid transparent;
  204. border-bottom: 16px solid #6096C4;
  205. }
  206. .windmill__slice-3 .windmill__tree-left {
  207. position: absolute;
  208. width: 0;
  209. height: 0;
  210. top: -4px;
  211. left: -30px;
  212. border-left: 5px solid transparent;
  213. border-right: 5px solid transparent;
  214. border-bottom: 20px solid #6096C4;
  215. }
  216. .windmill__slice-3 .windmill__tree-left:after {
  217. content: '';
  218. position: absolute;
  219. width: 0;
  220. height: 0;
  221. top: 11px;
  222. left: -12px;
  223. border-left: 3px solid transparent;
  224. border-right: 3px solid transparent;
  225. border-bottom: 15px solid #6096C4;
  226. }
  227. .windmill__slice-3 .windmill__tree-left:before {
  228. content: '';
  229. position: absolute;
  230. width: 0;
  231. height: 0;
  232. top: 19px;
  233. left: -46px;
  234. border-left: 4px solid transparent;
  235. border-right: 4px solid transparent;
  236. border-bottom: 20px solid #6096C4;
  237. }
  238. .windmill__slice-2 {
  239. position: absolute;
  240. width: 0;
  241. height: 0;
  242. bottom: 0;
  243. left: 205px;
  244. border-left: 250px solid transparent;
  245. border-right: 250px solid transparent;
  246. border-bottom: 110px solid #508BB3;
  247. }
  248. .windmill__slice-2:after {
  249. content: '';
  250. position: absolute;
  251. width: 0;
  252. height: 0;
  253. top: 13px;
  254. left: 46px;
  255. border-left: 2px solid transparent;
  256. border-right: 2px solid transparent;
  257. border-bottom: 10px solid #508BB3;
  258. }
  259. .windmill__slice-2:before {
  260. content: '';
  261. position: absolute;
  262. width: 0;
  263. height: 0;
  264. top: 10px;
  265. left: 39px;
  266. border-left: 3px solid transparent;
  267. border-right: 3px solid transparent;
  268. border-bottom: 12px solid #508BB3;
  269. }
  270. .windmill__slice-2 .windmill__tree-right {
  271. position: absolute;
  272. width: 0;
  273. height: 0;
  274. top: 6px;
  275. left: -45px;
  276. border-left: 4px solid transparent;
  277. border-right: 4px solid transparent;
  278. border-bottom: 17px #508BB3;
  279. }
  280. .windmill__slice-2 .windmill__tree-right:after {
  281. content: '';
  282. position: absolute;
  283. width: 0;
  284. height: 0;
  285. top: -16px;
  286. left: 13px;
  287. border-left: 6px solid transparent;
  288. border-right: 6px solid transparent;
  289. border-bottom: 24px solid #508BB3;
  290. }
  291. .windmill__slice-2 .windmill__tree-right:before {
  292. content: '';
  293. position: absolute;
  294. width: 0;
  295. height: 0;
  296. top: -11px;
  297. left: 26px;
  298. border-left: 3px solid transparent;
  299. border-right: 3px solid transparent;
  300. border-bottom: 15px solid #508BB3;
  301. }
  302. .windmill__slice-2 .windmill__tree-middle {
  303. position: absolute;
  304. width: 0;
  305. height: 0;
  306. top: 26px;
  307. left: -88px;
  308. border-left: 4px solid transparent;
  309. border-right: 4px solid transparent;
  310. border-bottom: 15px solid #508BB3;
  311. }
  312. .windmill__slice-2 .windmill__tree-middle:after {
  313. content: '';
  314. position: absolute;
  315. width: 0;
  316. height: 0;
  317. top: -13px;
  318. left: 7px;
  319. border-left: 5px solid transparent;
  320. border-right: 5px solid transparent;
  321. border-bottom: 24px solid #508BB3;
  322. }
  323. .windmill__slice-2 .windmill__tree-middle:before {
  324. content: '';
  325. position: absolute;
  326. width: 0;
  327. height: 0;
  328. top: -18px;
  329. left: 21px;
  330. border-left: 5px solid transparent;
  331. border-right: 5px solid transparent;
  332. border-bottom: 28px solid #508BB3;
  333. }
  334. .windmill__slice-2 .windmill__tree-left {
  335. position: absolute;
  336. width: 0;
  337. height: 0;
  338. top: 41px;
  339. left: -151px;
  340. border-left: 7px solid transparent;
  341. border-right: 7px solid transparent;
  342. border-bottom: 30px solid #508BB3;
  343. }
  344. .windmill__slice-2 .windmill__tree-left:after {
  345. content: '';
  346. position: absolute;
  347. width: 0;
  348. height: 0;
  349. top: 2px;
  350. left: 8px;
  351. border-left: 5px solid transparent;
  352. border-right: 5px solid transparent;
  353. border-bottom: 20px solid #508BB3;
  354. }
  355. .windmill__slice-2 .windmill__tree-left:before {
  356. content: '';
  357. position: absolute;
  358. width: 0;
  359. height: 0;
  360. top: -10px;
  361. left: 19px;
  362. border-left: 7px solid transparent;
  363. border-right: 7px solid transparent;
  364. border-bottom: 28px solid #508BB3;
  365. }
  366. .windmill__slice-1 {
  367. position: absolute;
  368. width: 0;
  369. height: 0;
  370. top: 190px;
  371. left: 0px;
  372. border-right: 400px solid transparent;
  373. border-bottom: 315px solid #14222D;
  374. }
  375. .windmill__slice-1:after {
  376. content: '';
  377. position: absolute;
  378. width: 0;
  379. height: 0;
  380. top: 150px;
  381. left: 390px;
  382. border-left: 230px solid transparent;
  383. border-right: 520px solid transparent;
  384. border-bottom: 175px solid #14222D;
  385. }
  386. .windmill__slice-1:before {
  387. content: '';
  388. position: absolute;
  389. width: 400px;
  390. height: 80px;
  391. top: 240px;
  392. left: 180px;
  393. border-radius: 100% 100% 0 0;
  394. background: #14222D;
  395. }
  396. .windmill__slice-1 .windmill__tree-right {
  397. position: absolute;
  398. width: 0;
  399. height: 0;
  400. top: 112px;
  401. left: 747px;
  402. border-left: 26px solid transparent;
  403. border-right: 26px solid transparent;
  404. border-bottom: 120px solid #14222D;
  405. }
  406. .windmill__slice-1 .windmill__tree-right:after {
  407. content: '';
  408. position: absolute;
  409. width: 10px;
  410. height: 20px;
  411. top: 60px;
  412. left: -49px;
  413. background: #14222D;
  414. }
  415. .windmill__slice-1 .windmill__tree-right:before {
  416. content: '';
  417. position: absolute;
  418. width: 50px;
  419. height: 50px;
  420. top: 14px;
  421. left: -69px;
  422. background: #14222D;
  423. border-radius: 50% 0 50% 50%;
  424. transform: rotate(-45deg);
  425. }
  426. .windmill__slice-1 .windmill__tree-left {
  427. position: absolute;
  428. width: 0;
  429. height: 0;
  430. top: -42px;
  431. left: 40px;
  432. border-left: 26px solid transparent;
  433. border-right: 26px solid transparent;
  434. border-bottom: 120px solid #14222D;
  435. }
  436. .windmill__slice-1 .windmill__tree-left:after {
  437. content: '';
  438. position: absolute;
  439. width: 0;
  440. height: 0;
  441. top: 187px;
  442. left: 461px;
  443. border-left: 20px solid transparent;
  444. border-right: 20px solid transparent;
  445. border-bottom: 80px solid #14222D;
  446. }
  447. .windmill__slice-1 .windmill__tree-left:before {
  448. content: '';
  449. position: absolute;
  450. width: 0;
  451. height: 0;
  452. top: 88px;
  453. left: 47px;
  454. border-left: 16px solid transparent;
  455. border-right: 16px solid transparent;
  456. border-bottom: 75px solid #14222D;
  457. }
  458. .windmill__clouds {
  459. position: absolute;
  460. }
  461. .windmill__cloud {
  462. position: absolute;
  463. width: 200px;
  464. height: 40px;
  465. border-radius: 40px;
  466. background: #B6E2FF;
  467. opacity: .3;
  468. }
  469. .windmill__cloud:before {
  470. content: '';
  471. position: absolute;
  472. top: -20px;
  473. left: 30px;
  474. width: 100px;
  475. height: 30px;
  476. border-radius: 20px;
  477. background: #B6E2FF;
  478. }
  479. .windmill__cloud:after {
  480. content: '';
  481. position: absolute;
  482. top: -30px;
  483. left: 70px;
  484. width: 100px;
  485. height: 50px;
  486. border-radius: 50px;
  487. background: #B6E2FF;
  488. }
  489. .windmill__cloud:nth-child(1) {
  490. top: 140px;
  491. left: 150px;
  492. animation: cloud 58s linear infinite;
  493. animation-delay: -20s;
  494. }
  495. .windmill__cloud:nth-child(2) {
  496. top: 210px;
  497. left: 30px;
  498. transform: scale(0.4);
  499. animation: cloud 60s linear infinite;
  500. animation-delay: -12s;
  501. }
  502. .windmill__cloud:nth-child(3) {
  503. top: 270px;
  504. left: 650px;
  505. transform: scale(0.3);
  506. animation: cloud 62s linear infinite;
  507. animation-delay: -10s;
  508. }
  509. .windmill__cloud:nth-child(4) {
  510. top: 260px;
  511. left: 360px;
  512. transform: scale(0.8);
  513. animation: cloud 64s linear infinite;
  514. animation-delay: -30s;
  515. }
  516. .windmill__cloud:nth-child(5) {
  517. top: 90px;
  518. left: 500px;
  519. transform: scale(0.5);
  520. animation: cloud 56s linear infinite;
  521. animation-delay: -25s;
  522. }
  523. .windmill__cloud:nth-child(6) {
  524. top: 140px;
  525. left: 710px;
  526. transform: scale(0.7);
  527. animation: cloud 60s linear infinite;
  528. animation-delay: -50s;
  529. }
  530. .windmill__windmill {
  531. position: absolute;
  532. bottom: -30px;
  533. left: 50px;
  534. width: 75px;
  535. border-style: solid;
  536. border-color: #1e3b52 transparent;
  537. border-width: 0 10px 135px;
  538. }
  539. .windmill__windmill:after {
  540. content: '';
  541. position: absolute;
  542. width: 8px;
  543. height: 8px;
  544. top: 7px;
  545. left: 25px;
  546. transform: rotate(45deg);
  547. background: #B6E2FF;
  548. }
  549. .windmill__windmill:before {
  550. content: '';
  551. position: absolute;
  552. width: 0;
  553. height: 0;
  554. top: -48px;
  555. left: -12px;
  556. border-left: 40px solid transparent;
  557. border-right: 40px solid transparent;
  558. border-bottom: 50px solid #153650;
  559. }
  560. .windmill__blades {
  561. position: absolute;
  562. top: 6px;
  563. left: 30px;
  564. animation: blades 12s linear infinite;
  565. }
  566. .windmill__blade {
  567. position: absolute;
  568. height: 80px;
  569. width: 24px;
  570. border: 2px solid #14222D;
  571. }
  572. .windmill__blade:after {
  573. content: '';
  574. position: absolute;
  575. top: 15px;
  576. left: -2px;
  577. height: 14px;
  578. width: 24px;
  579. border: 2px solid #14222D;
  580. }
  581. .windmill__blade:before {
  582. content: '';
  583. position: absolute;
  584. top: 47px;
  585. left: -2px;
  586. height: 14px;
  587. width: 24px;
  588. border: 2px solid #14222D;
  589. }
  590. .windmill__blade:nth-child(1) {
  591. top: -84px;
  592. left: -13px;
  593. }
  594. .windmill__blade:nth-child(2) {
  595. bottom: -84px;
  596. left: -13px;
  597. }
  598. .windmill__blade:nth-child(3) {
  599. transform: rotate(90deg);
  600. top: -43px;
  601. left: -56px;
  602. }
  603. .windmill__blade:nth-child(4) {
  604. transform: rotate(90deg);
  605. top: -43px;
  606. left: 28px;
  607. }
  608. .windmill__snowflakes {
  609. position: absolute;
  610. }
  611. .windmill__snowflake {
  612. position: absolute;
  613. background: #B6E2FF;
  614. transform: rotate(45deg);
  615. top: -200px;
  616. animation: snowflake 30s linear infinite;
  617. opacity: .5;
  618. }
  619. .windmill__snowflake:before {
  620. content: '';
  621. position: absolute;
  622. background: #B6E2FF;
  623. }
  624. .windmill__snowflake:after {
  625. content: '';
  626. position: absolute;
  627. background: #B6E2FF;
  628. }
  629. .windmill__snowflake:nth-child(1) {
  630. height: 5px;
  631. width: 5px;
  632. left: 100px;
  633. animation-delay: 20s;
  634. }
  635. .windmill__snowflake:nth-child(1):before {
  636. height: 7px;
  637. width: 7px;
  638. left: -15px;
  639. top: 137px;
  640. }
  641. .windmill__snowflake:nth-child(1):after {
  642. height: 5px;
  643. width: 5px;
  644. left: 40px;
  645. top: 320px;
  646. }
  647. .windmill__snowflake:nth-child(2) {
  648. height: 5px;
  649. width: 5px;
  650. left: 200px;
  651. animation-delay: 10s;
  652. }
  653. .windmill__snowflake:nth-child(2):before {
  654. height: 5px;
  655. width: 5px;
  656. left: -157px;
  657. top: 226px;
  658. }
  659. .windmill__snowflake:nth-child(2):after {
  660. height: 6px;
  661. width: 6px;
  662. left: -51px;
  663. top: 381px;
  664. }
  665. .windmill__snowflake:nth-child(3) {
  666. height: 5px;
  667. width: 5px;
  668. left: 300px;
  669. }
  670. .windmill__snowflake:nth-child(3):before {
  671. height: 6px;
  672. width: 6px;
  673. left: -155px;
  674. top: 186px;
  675. }
  676. .windmill__snowflake:nth-child(3):after {
  677. height: 5px;
  678. width: 5px;
  679. left: -57px;
  680. top: 109px;
  681. }
  682. .windmill__snowflake:nth-child(4) {
  683. height: 8px;
  684. width: 8px;
  685. left: 400px;
  686. animation-delay: 14s;
  687. }
  688. .windmill__snowflake:nth-child(4):before {
  689. height: 8px;
  690. width: 8px;
  691. left: -96px;
  692. top: 215px;
  693. }
  694. .windmill__snowflake:nth-child(4):after {
  695. height: 6px;
  696. width: 6px;
  697. left: -206px;
  698. top: 71px;
  699. }
  700. .windmill__snowflake:nth-child(5) {
  701. height: 7px;
  702. width: 7px;
  703. left: 500px;
  704. animation-delay: -24s;
  705. }
  706. .windmill__snowflake:nth-child(5):before {
  707. height: 7px;
  708. width: 7px;
  709. left: -244px;
  710. top: 96px;
  711. }
  712. .windmill__snowflake:nth-child(5):after {
  713. height: 7px;
  714. width: 7px;
  715. left: 100px;
  716. top: 217px;
  717. }
  718. .windmill__snowflake:nth-child(6) {
  719. height: 8px;
  720. width: 8px;
  721. left: 600px;
  722. }
  723. .windmill__snowflake:nth-child(6):before {
  724. height: 8px;
  725. width: 8px;
  726. left: 110px;
  727. top: 150px;
  728. }
  729. .windmill__snowflake:nth-child(6):after {
  730. height: 8px;
  731. width: 8px;
  732. left: 30px;
  733. top: 276px;
  734. }
  735. .windmill__snowflake:nth-child(7) {
  736. height: 6px;
  737. width: 6px;
  738. left: 700px;
  739. animation-delay: -22s;
  740. }
  741. .windmill__snowflake:nth-child(7):before {
  742. height: 6px;
  743. width: 6px;
  744. left: 247px;
  745. top: 220px;
  746. }
  747. .windmill__snowflake:nth-child(7):after {
  748. height: 6px;
  749. width: 6px;
  750. left: 143px;
  751. top: 306px;
  752. }
  753. .windmill__snowflake:nth-child(8) {
  754. height: 6px;
  755. width: 6px;
  756. left: 800px;
  757. animation-delay: -17s;
  758. }
  759. .windmill__snowflake:nth-child(8):before {
  760. height: 6px;
  761. width: 6px;
  762. left: 10px;
  763. top: 343px;
  764. }
  765. .windmill__snowflake:nth-child(8):after {
  766. height: 8px;
  767. width: 8px;
  768. left: -105px;
  769. top: 239px;
  770. }
  771. .windmill__snowflake:nth-child(9) {
  772. height: 7px;
  773. width: 7px;
  774. left: 900px;
  775. }
  776. .windmill__snowflake:nth-child(9):before {
  777. height: 8px;
  778. width: 8px;
  779. left: 133px;
  780. top: 211px;
  781. }
  782. .windmill__snowflake:nth-child(9):after {
  783. height: 5px;
  784. width: 5px;
  785. left: -65px;
  786. top: 243px;
  787. }
  788. .windmill__snowflake:nth-child(10) {
  789. height: 7px;
  790. width: 7px;
  791. left: 1000px;
  792. animation-delay: 17s;
  793. }
  794. .windmill__snowflake:nth-child(10):before {
  795. height: 7px;
  796. width: 7px;
  797. left: -119px;
  798. top: 207px;
  799. }
  800. .windmill__snowflake:nth-child(10):after {
  801. height: 7px;
  802. width: 7px;
  803. left: 166px;
  804. top: 4px;
  805. }
  806. .windmill__snowflake:nth-child(11) {
  807. height: 4px;
  808. width: 4px;
  809. left: 150px;
  810. animation-delay: -22s;
  811. }
  812. .windmill__snowflake:nth-child(11):before {
  813. height: 7px;
  814. width: 7px;
  815. left: -117px;
  816. top: 259px;
  817. }
  818. .windmill__snowflake:nth-child(11):after {
  819. height: 9px;
  820. width: 9px;
  821. left: 230px;
  822. top: 81px;
  823. }
  824. .windmill__snowflake:nth-child(12) {
  825. height: 7px;
  826. width: 7px;
  827. left: 250px;
  828. }
  829. .windmill__snowflake:nth-child(12):before {
  830. height: 6px;
  831. width: 6px;
  832. left: -17px;
  833. top: 226px;
  834. }
  835. .windmill__snowflake:nth-child(12):after {
  836. height: 8px;
  837. width: 8px;
  838. left: 33px;
  839. top: 64px;
  840. }
  841. .windmill__snowflake:nth-child(13) {
  842. height: 5px;
  843. width: 5px;
  844. left: 350px;
  845. animation-delay: 19s;
  846. }
  847. .windmill__snowflake:nth-child(13):before {
  848. height: 7px;
  849. width: 7px;
  850. left: -138px;
  851. top: 192px;
  852. }
  853. .windmill__snowflake:nth-child(13):after {
  854. height: 7px;
  855. width: 7px;
  856. left: 241px;
  857. top: 20px;
  858. }
  859. .windmill__snowflake:nth-child(14) {
  860. height: 4px;
  861. width: 4px;
  862. left: 450px;
  863. animation-delay: 15s;
  864. }
  865. .windmill__snowflake:nth-child(14):before {
  866. height: 7px;
  867. width: 7px;
  868. left: -173px;
  869. top: 222px;
  870. }
  871. .windmill__snowflake:nth-child(14):after {
  872. height: 5px;
  873. width: 5px;
  874. left: 236px;
  875. top: 27px;
  876. }
  877. .windmill__snowflake:nth-child(15) {
  878. height: 7px;
  879. width: 7px;
  880. left: 550px;
  881. }
  882. .windmill__snowflake:nth-child(15):before {
  883. height: 7px;
  884. width: 7px;
  885. left: -131px;
  886. top: 241px;
  887. }
  888. .windmill__snowflake:nth-child(15):after {
  889. height: 7px;
  890. width: 7px;
  891. left: 426px;
  892. top: 128px;
  893. }
  894. .windmill__snowflake:nth-child(16) {
  895. height: 5px;
  896. width: 5px;
  897. left: 650px;
  898. animation-delay: 22s;
  899. }
  900. .windmill__snowflake:nth-child(16):before {
  901. height: 7px;
  902. width: 7px;
  903. left: -154px;
  904. top: 232px;
  905. }
  906. .windmill__snowflake:nth-child(16):after {
  907. height: 6px;
  908. width: 6px;
  909. left: 126px;
  910. top: 123px;
  911. }
  912. .windmill__snowflake:nth-child(17) {
  913. height: 5px;
  914. width: 5px;
  915. left: 750px;
  916. animation-delay: -8s;
  917. }
  918. .windmill__snowflake:nth-child(17):before {
  919. height: 7px;
  920. width: 7px;
  921. left: -178px;
  922. top: 284px;
  923. }
  924. .windmill__snowflake:nth-child(17):after {
  925. height: 6px;
  926. width: 6px;
  927. left: 150px;
  928. top: 208px;
  929. }
  930. .windmill__snowflake:nth-child(18) {
  931. height: 5px;
  932. width: 5px;
  933. left: 850px;
  934. }
  935. .windmill__snowflake:nth-child(18):before {
  936. height: 7px;
  937. width: 7px;
  938. left: -165px;
  939. top: 247px;
  940. }
  941. .windmill__snowflake:nth-child(18):after {
  942. height: 6px;
  943. width: 6px;
  944. left: 110px;
  945. top: 216px;
  946. }
  947. .windmill__snowflake:nth-child(19) {
  948. height: 5px;
  949. width: 5px;
  950. left: 950px;
  951. animation-delay: -13s;
  952. }
  953. .windmill__snowflake:nth-child(19):before {
  954. height: 7px;
  955. width: 7px;
  956. left: -14px;
  957. top: 362px;
  958. }
  959. .windmill__snowflake:nth-child(19):after {
  960. height: 6px;
  961. width: 6px;
  962. left: 226px;
  963. top: 243px;
  964. }
  965. .windmill__snowflake:nth-child(20) {
  966. height: 5px;
  967. width: 5px;
  968. left: 50px;
  969. animation-delay: -9s;
  970. }
  971. .windmill__snowflake:nth-child(20):before {
  972. height: 7px;
  973. width: 7px;
  974. left: -194px;
  975. top: 255px;
  976. }
  977. .windmill__snowflake:nth-child(20):after {
  978. height: 6px;
  979. width: 6px;
  980. left: 246px;
  981. top: 233px;
  982. }
  983. .windmill__snowflake:nth-child(21) {
  984. height: 7px;
  985. width: 7px;
  986. left: 600px;
  987. }
  988. .windmill__snowflake:nth-child(21):before {
  989. height: 7px;
  990. width: 7px;
  991. left: -248px;
  992. top: 218px;
  993. }
  994. .windmill__snowflake:nth-child(21):after {
  995. height: 6px;
  996. width: 6px;
  997. left: 133px;
  998. top: 101px;
  999. }
  1000. .windmill__snowflake:nth-child(22) {
  1001. height: 5px;
  1002. width: 5px;
  1003. left: 800px;
  1004. animation-delay: -11s;
  1005. }
  1006. .windmill__snowflake:nth-child(22):before {
  1007. height: 7px;
  1008. width: 7px;
  1009. left: -44px;
  1010. top: 342px;
  1011. }
  1012. .windmill__snowflake:nth-child(22):after {
  1013. height: 6px;
  1014. width: 6px;
  1015. left: 126px;
  1016. top: 123px;
  1017. }
  1018. /* Анимации */
  1019. @keyframes blades {
  1020. 100% {
  1021. transform: rotate(-360deg);
  1022. }
  1023. }
  1024. @keyframes cloud {
  1025. 0% {
  1026. transform: translateX(750px);
  1027. }
  1028. 100% {
  1029. transform: translateX(-450px);
  1030. }
  1031. }
  1032. @keyframes snowflake {
  1033. 0% {
  1034. transform: rotate(45deg) translateX(0) translateY(116px);
  1035. }
  1036. 20% {
  1037. transform: rotate(45deg) translateX(-10px) translateY(232px);
  1038. }
  1039. 40% {
  1040. transform: rotate(45deg) translateX(-50px) translateY(348px);
  1041. }
  1042. 60% {
  1043. transform: rotate(45deg) translateX(-150px) translateY(464px);
  1044. }
  1045. 80% {
  1046. transform: rotate(45deg) translateX(-100px) translateY(580px);
  1047. }
  1048. 100% {
  1049. transform: rotate(45deg) translateX(-50px) translateY(700px);
  1050. }
  1051. }