qipao.css 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688
  1. body{
  2. background:#000;
  3. }
  4. .frame {
  5. position: absolute;
  6. top: 40%;
  7. left: 75%;
  8. width: 151px;
  9. height: 151px;
  10. border-radius: 50%;
  11. margin-top: -200px;
  12. margin-left: -200px;
  13. border-radius: 2px;
  14. /*box-shadow: 4px 8px 16px 0 rgba(0, 0, 0, 0.1);*/
  15. /*overflow: hidden;*/
  16. color: #333;
  17. -webkit-font-smoothing: antialiased;
  18. -moz-osx-font-smoothing: grayscale;
  19. }
  20. .center {
  21. position: absolute;
  22. top: 40%;
  23. left: 40%;
  24. transform: translate(-50%, -60%);
  25. perspective: 600px;
  26. animation: perspectiveShift 25s infinite linear;
  27. }
  28. .center h1 {
  29. position: relative;
  30. left: 12%;
  31. font-size: 3rem;
  32. text-align: center;
  33. text-transform: uppercase;
  34. background-attachment: fixed;
  35. -webkit-background-clip: text;
  36. background-clip: text;
  37. -webkit-text-fill-color: transparent;
  38. text-fill-color: transparent;
  39. }
  40. .center h1:before {
  41. content: attr(data-text);
  42. position: absolute;
  43. top: 0;
  44. left: 5%;
  45. text-shadow: -5px 5px 20px rgba(0, 0, 0, 0.6), -10px 10px 30px rgba(0, 0, 0, 0.7), -20px 15px 40px rgba(0, 0, 0, 0.8), -25px 20px 50px rgba(0, 0, 0, 0.9);
  46. z-index: -1;
  47. }
  48. .starHolder {
  49. position: absolute;
  50. transform-style: preserve-3d;
  51. transform: translateZ(9000px);
  52. animation: flyin infinite linear;
  53. }
  54. .starHolder:nth-child(1) {
  55. top: -46vh;
  56. left: 46vw;
  57. animation-delay: 50ms;
  58. animation-duration: 3s;
  59. }
  60. .starHolder:nth-child(2) {
  61. top: -19vh;
  62. left: 17vw;
  63. animation-delay: 100ms;
  64. animation-duration: 3s;
  65. }
  66. .starHolder:nth-child(3) {
  67. top: 18vh;
  68. left: 17vw;
  69. animation-delay: 150ms;
  70. animation-duration: 2s;
  71. }
  72. .starHolder:nth-child(4) {
  73. top: 149vh;
  74. left: 171vw;
  75. animation-delay: 200ms;
  76. animation-duration: 2s;
  77. }
  78. .starHolder:nth-child(5) {
  79. top: 61vh;
  80. left: 164vw;
  81. animation-delay: 250ms;
  82. animation-duration: 3s;
  83. }
  84. .starHolder:nth-child(6) {
  85. top: 157vh;
  86. left: 15vw;
  87. animation-delay: 300ms;
  88. animation-duration: 2s;
  89. }
  90. .starHolder:nth-child(7) {
  91. top: -33vh;
  92. left: -21vw;
  93. animation-delay: 350ms;
  94. animation-duration: 2s;
  95. }
  96. .starHolder:nth-child(8) {
  97. top: 85vh;
  98. left: -22vw;
  99. animation-delay: 400ms;
  100. animation-duration: 2s;
  101. }
  102. .starHolder:nth-child(9) {
  103. top: 184vh;
  104. left: 133vw;
  105. animation-delay: 450ms;
  106. animation-duration: 3s;
  107. }
  108. .starHolder:nth-child(10) {
  109. top: 113vh;
  110. left: 191vw;
  111. animation-delay: 500ms;
  112. animation-duration: 3s;
  113. }
  114. .starHolder:nth-child(11) {
  115. top: 187vh;
  116. left: 153vw;
  117. animation-delay: 550ms;
  118. animation-duration: 2s;
  119. }
  120. .starHolder:nth-child(12) {
  121. top: 101vh;
  122. left: 2vw;
  123. animation-delay: 600ms;
  124. animation-duration: 2s;
  125. }
  126. .starHolder:nth-child(13) {
  127. top: 80vh;
  128. left: 191vw;
  129. animation-delay: 650ms;
  130. animation-duration: 2s;
  131. }
  132. .starHolder:nth-child(14) {
  133. top: 96vh;
  134. left: 79vw;
  135. animation-delay: 700ms;
  136. animation-duration: 2s;
  137. }
  138. .starHolder:nth-child(15) {
  139. top: 25vh;
  140. left: 165vw;
  141. animation-delay: 750ms;
  142. animation-duration: 2s;
  143. }
  144. .starHolder:nth-child(16) {
  145. top: -4vh;
  146. left: 95vw;
  147. animation-delay: 800ms;
  148. animation-duration: 3s;
  149. }
  150. .starHolder:nth-child(17) {
  151. top: 30vh;
  152. left: 151vw;
  153. animation-delay: 850ms;
  154. animation-duration: 3s;
  155. }
  156. .starHolder:nth-child(18) {
  157. top: 19vh;
  158. left: 150vw;
  159. animation-delay: 900ms;
  160. animation-duration: 2s;
  161. }
  162. .starHolder:nth-child(19) {
  163. top: 85vh;
  164. left: 31vw;
  165. animation-delay: 950ms;
  166. animation-duration: 3s;
  167. }
  168. .starHolder:nth-child(20) {
  169. top: 49vh;
  170. left: 174vw;
  171. animation-delay: 1000ms;
  172. animation-duration: 3s;
  173. }
  174. .starHolder:nth-child(21) {
  175. top: 61vh;
  176. left: 110vw;
  177. animation-delay: 1050ms;
  178. animation-duration: 2s;
  179. }
  180. .starHolder:nth-child(22) {
  181. top: -49vh;
  182. left: 59vw;
  183. animation-delay: 1100ms;
  184. animation-duration: 3s;
  185. }
  186. .starHolder:nth-child(23) {
  187. top: -20vh;
  188. left: 114vw;
  189. animation-delay: 1150ms;
  190. animation-duration: 2s;
  191. }
  192. .starHolder:nth-child(24) {
  193. top: 170vh;
  194. left: 86vw;
  195. animation-delay: 1200ms;
  196. animation-duration: 3s;
  197. }
  198. .starHolder:nth-child(25) {
  199. top: -8vh;
  200. left: 176vw;
  201. animation-delay: 1250ms;
  202. animation-duration: 3s;
  203. }
  204. .starHolder:nth-child(26) {
  205. top: 192vh;
  206. left: -24vw;
  207. animation-delay: 1300ms;
  208. animation-duration: 3s;
  209. }
  210. .starHolder:nth-child(27) {
  211. top: 122vh;
  212. left: 72vw;
  213. animation-delay: 1350ms;
  214. animation-duration: 3s;
  215. }
  216. .starHolder:nth-child(28) {
  217. top: 92vh;
  218. left: 170vw;
  219. animation-delay: 1400ms;
  220. animation-duration: 2s;
  221. }
  222. .starHolder:nth-child(29) {
  223. top: 131vh;
  224. left: 1vw;
  225. animation-delay: 1450ms;
  226. animation-duration: 3s;
  227. }
  228. .starHolder:nth-child(30) {
  229. top: 8vh;
  230. left: -5vw;
  231. animation-delay: 1500ms;
  232. animation-duration: 2s;
  233. }
  234. .starHolder:nth-child(31) {
  235. top: -1vh;
  236. left: 125vw;
  237. animation-delay: 1550ms;
  238. animation-duration: 3s;
  239. }
  240. .starHolder:nth-child(32) {
  241. top: -34vh;
  242. left: 14vw;
  243. animation-delay: 1600ms;
  244. animation-duration: 3s;
  245. }
  246. .starHolder:nth-child(33) {
  247. top: 67vh;
  248. left: 56vw;
  249. animation-delay: 1650ms;
  250. animation-duration: 2s;
  251. }
  252. .starHolder:nth-child(34) {
  253. top: -36vh;
  254. left: -24vw;
  255. animation-delay: 1700ms;
  256. animation-duration: 2s;
  257. }
  258. .starHolder:nth-child(35) {
  259. top: 88vh;
  260. left: 0vw;
  261. animation-delay: 1750ms;
  262. animation-duration: 3s;
  263. }
  264. .starHolder:nth-child(36) {
  265. top: 6vh;
  266. left: 170vw;
  267. animation-delay: 1800ms;
  268. animation-duration: 2s;
  269. }
  270. .starHolder:nth-child(37) {
  271. top: 137vh;
  272. left: 126vw;
  273. animation-delay: 1850ms;
  274. animation-duration: 2s;
  275. }
  276. .starHolder:nth-child(38) {
  277. top: 197vh;
  278. left: 104vw;
  279. animation-delay: 1900ms;
  280. animation-duration: 3s;
  281. }
  282. .starHolder:nth-child(39) {
  283. top: 118vh;
  284. left: 153vw;
  285. animation-delay: 1950ms;
  286. animation-duration: 3s;
  287. }
  288. .starHolder:nth-child(40) {
  289. top: 57vh;
  290. left: 164vw;
  291. animation-delay: 2000ms;
  292. animation-duration: 3s;
  293. }
  294. .starHolder:nth-child(41) {
  295. top: 145vh;
  296. left: 130vw;
  297. animation-delay: 2050ms;
  298. animation-duration: 3s;
  299. }
  300. .starHolder:nth-child(42) {
  301. top: -8vh;
  302. left: 118vw;
  303. animation-delay: 2100ms;
  304. animation-duration: 3s;
  305. }
  306. .starHolder:nth-child(43) {
  307. top: 167vh;
  308. left: 10vw;
  309. animation-delay: 2150ms;
  310. animation-duration: 2s;
  311. }
  312. .starHolder:nth-child(44) {
  313. top: 117vh;
  314. left: 144vw;
  315. animation-delay: 2200ms;
  316. animation-duration: 2s;
  317. }
  318. .starHolder:nth-child(45) {
  319. top: -6vh;
  320. left: 98vw;
  321. animation-delay: 2250ms;
  322. animation-duration: 3s;
  323. }
  324. .starHolder:nth-child(46) {
  325. top: 76vh;
  326. left: -11vw;
  327. animation-delay: 2300ms;
  328. animation-duration: 2s;
  329. }
  330. .starHolder:nth-child(47) {
  331. top: 144vh;
  332. left: 129vw;
  333. animation-delay: 2350ms;
  334. animation-duration: 2s;
  335. }
  336. .starHolder:nth-child(48) {
  337. top: 196vh;
  338. left: -20vw;
  339. animation-delay: 2400ms;
  340. animation-duration: 2s;
  341. }
  342. .starHolder:nth-child(49) {
  343. top: 76vh;
  344. left: 117vw;
  345. animation-delay: 2450ms;
  346. animation-duration: 3s;
  347. }
  348. .starHolder:nth-child(50) {
  349. top: 138vh;
  350. left: 159vw;
  351. animation-delay: 2500ms;
  352. animation-duration: 2s;
  353. }
  354. .starHolder:nth-child(51) {
  355. top: 158vh;
  356. left: 64vw;
  357. animation-delay: 2550ms;
  358. animation-duration: 3s;
  359. }
  360. .starHolder:nth-child(52) {
  361. top: 81vh;
  362. left: 27vw;
  363. animation-delay: 2600ms;
  364. animation-duration: 2s;
  365. }
  366. .starHolder:nth-child(53) {
  367. top: 28vh;
  368. left: 173vw;
  369. animation-delay: 2650ms;
  370. animation-duration: 3s;
  371. }
  372. .starHolder:nth-child(54) {
  373. top: 27vh;
  374. left: -17vw;
  375. animation-delay: 2700ms;
  376. animation-duration: 2s;
  377. }
  378. .starHolder:nth-child(55) {
  379. top: 150vh;
  380. left: 55vw;
  381. animation-delay: 2750ms;
  382. animation-duration: 2s;
  383. }
  384. .starHolder:nth-child(56) {
  385. top: 148vh;
  386. left: 106vw;
  387. animation-delay: 2800ms;
  388. animation-duration: 2s;
  389. }
  390. .starHolder:nth-child(57) {
  391. top: 166vh;
  392. left: 172vw;
  393. animation-delay: 2850ms;
  394. animation-duration: 2s;
  395. }
  396. .starHolder:nth-child(58) {
  397. top: 66vh;
  398. left: 32vw;
  399. animation-delay: 2900ms;
  400. animation-duration: 2s;
  401. }
  402. .starHolder:nth-child(59) {
  403. top: 93vh;
  404. left: 30vw;
  405. animation-delay: 2950ms;
  406. animation-duration: 2s;
  407. }
  408. .starHolder:nth-child(60) {
  409. top: 69vh;
  410. left: -3vw;
  411. animation-delay: 3000ms;
  412. animation-duration: 2s;
  413. }
  414. .starHolder:nth-child(61) {
  415. top: 65vh;
  416. left: 55vw;
  417. animation-delay: 3050ms;
  418. animation-duration: 2s;
  419. }
  420. .starHolder:nth-child(62) {
  421. top: 144vh;
  422. left: -33vw;
  423. animation-delay: 3100ms;
  424. animation-duration: 3s;
  425. }
  426. .starHolder:nth-child(63) {
  427. top: 162vh;
  428. left: 175vw;
  429. animation-delay: 3150ms;
  430. animation-duration: 3s;
  431. }
  432. .starHolder:nth-child(64) {
  433. top: 165vh;
  434. left: -40vw;
  435. animation-delay: 3200ms;
  436. animation-duration: 2s;
  437. }
  438. .starHolder:nth-child(65) {
  439. top: 44vh;
  440. left: -40vw;
  441. animation-delay: 3250ms;
  442. animation-duration: 3s;
  443. }
  444. .starHolder:nth-child(66) {
  445. top: 33vh;
  446. left: 58vw;
  447. animation-delay: 3300ms;
  448. animation-duration: 2s;
  449. }
  450. .starHolder:nth-child(67) {
  451. top: 27vh;
  452. left: 191vw;
  453. animation-delay: 3350ms;
  454. animation-duration: 3s;
  455. }
  456. .starHolder:nth-child(68) {
  457. top: -25vh;
  458. left: 117vw;
  459. animation-delay: 3400ms;
  460. animation-duration: 3s;
  461. }
  462. .starHolder:nth-child(69) {
  463. top: 39vh;
  464. left: 54vw;
  465. animation-delay: 3450ms;
  466. animation-duration: 3s;
  467. }
  468. .starHolder:nth-child(70) {
  469. top: 106vh;
  470. left: 99vw;
  471. animation-delay: 3500ms;
  472. animation-duration: 3s;
  473. }
  474. .starHolder:nth-child(71) {
  475. top: -13vh;
  476. left: 96vw;
  477. animation-delay: 3550ms;
  478. animation-duration: 2s;
  479. }
  480. .starHolder:nth-child(72) {
  481. top: 40vh;
  482. left: 88vw;
  483. animation-delay: 3600ms;
  484. animation-duration: 3s;
  485. }
  486. .starHolder:nth-child(73) {
  487. top: -16vh;
  488. left: 186vw;
  489. animation-delay: 3650ms;
  490. animation-duration: 3s;
  491. }
  492. .starHolder:nth-child(74) {
  493. top: -34vh;
  494. left: 64vw;
  495. animation-delay: 3700ms;
  496. animation-duration: 2s;
  497. }
  498. .starHolder:nth-child(75) {
  499. top: -41vh;
  500. left: 44vw;
  501. animation-delay: 3750ms;
  502. animation-duration: 3s;
  503. }
  504. .starHolder:nth-child(76) {
  505. top: 22vh;
  506. left: 92vw;
  507. animation-delay: 3800ms;
  508. animation-duration: 2s;
  509. }
  510. .starHolder:nth-child(77) {
  511. top: 104vh;
  512. left: -23vw;
  513. animation-delay: 3850ms;
  514. animation-duration: 3s;
  515. }
  516. .starHolder:nth-child(78) {
  517. top: 158vh;
  518. left: -9vw;
  519. animation-delay: 3900ms;
  520. animation-duration: 3s;
  521. }
  522. .starHolder:nth-child(79) {
  523. top: 57vh;
  524. left: 184vw;
  525. animation-delay: 3950ms;
  526. animation-duration: 2s;
  527. }
  528. .starHolder:nth-child(80) {
  529. top: -14vh;
  530. left: 0vw;
  531. animation-delay: 4000ms;
  532. animation-duration: 2s;
  533. }
  534. .starHolder:nth-child(81) {
  535. top: 169vh;
  536. left: 199vw;
  537. animation-delay: 4050ms;
  538. animation-duration: 2s;
  539. }
  540. .starHolder:nth-child(82) {
  541. top: 14vh;
  542. left: 54vw;
  543. animation-delay: 4100ms;
  544. animation-duration: 2s;
  545. }
  546. .starHolder:nth-child(83) {
  547. top: 62vh;
  548. left: 147vw;
  549. animation-delay: 4150ms;
  550. animation-duration: 2s;
  551. }
  552. .starHolder:nth-child(84) {
  553. top: 127vh;
  554. left: 46vw;
  555. animation-delay: 4200ms;
  556. animation-duration: 3s;
  557. }
  558. .starHolder:nth-child(85) {
  559. top: 160vh;
  560. left: 137vw;
  561. animation-delay: 4250ms;
  562. animation-duration: 2s;
  563. }
  564. .starHolder:nth-child(86) {
  565. top: 98vh;
  566. left: 88vw;
  567. animation-delay: 4300ms;
  568. animation-duration: 3s;
  569. }
  570. .starHolder:nth-child(87) {
  571. top: 0vh;
  572. left: 0vw;
  573. animation-delay: 4350ms;
  574. animation-duration: 3s;
  575. }
  576. .starHolder:nth-child(88) {
  577. top: -21vh;
  578. left: 9vw;
  579. animation-delay: 4400ms;
  580. animation-duration: 2s;
  581. }
  582. .starHolder:nth-child(89) {
  583. top: 19vh;
  584. left: 57vw;
  585. animation-delay: 4450ms;
  586. animation-duration: 3s;
  587. }
  588. .starHolder:nth-child(90) {
  589. top: 184vh;
  590. left: 27vw;
  591. animation-delay: 4500ms;
  592. animation-duration: 3s;
  593. }
  594. .starHolder:nth-child(91) {
  595. top: 69vh;
  596. left: -48vw;
  597. animation-delay: 4550ms;
  598. animation-duration: 2s;
  599. }
  600. .starHolder:nth-child(92) {
  601. top: 110vh;
  602. left: 78vw;
  603. animation-delay: 4600ms;
  604. animation-duration: 2s;
  605. }
  606. .starHolder:nth-child(93) {
  607. top: 3vh;
  608. left: 73vw;
  609. animation-delay: 4650ms;
  610. animation-duration: 3s;
  611. }
  612. .starHolder:nth-child(94) {
  613. top: 155vh;
  614. left: 60vw;
  615. animation-delay: 4700ms;
  616. animation-duration: 2s;
  617. }
  618. .starHolder:nth-child(95) {
  619. top: 119vh;
  620. left: 92vw;
  621. animation-delay: 4750ms;
  622. animation-duration: 2s;
  623. }
  624. .starHolder:nth-child(96) {
  625. top: 8vh;
  626. left: 5vw;
  627. animation-delay: 4800ms;
  628. animation-duration: 3s;
  629. }
  630. .starHolder:nth-child(97) {
  631. top: 198vh;
  632. left: 73vw;
  633. animation-delay: 4850ms;
  634. animation-duration: 3s;
  635. }
  636. .starHolder:nth-child(98) {
  637. top: -43vh;
  638. left: 11vw;
  639. animation-delay: 4900ms;
  640. animation-duration: 3s;
  641. }
  642. .starHolder:nth-child(99) {
  643. top: 17vh;
  644. left: 12vw;
  645. animation-delay: 4950ms;
  646. animation-duration: 2s;
  647. }
  648. .star {
  649. width: 100px;
  650. height: 100px;
  651. border-radius: 100px;
  652. background: radial-gradient(ellipse at center, white 0%, rgba(255, 255, 255, 0.1) 50%);
  653. }
  654. .star .side-1 {
  655. content: '';
  656. position: absolute;
  657. transform: rotateX(90deg);
  658. }
  659. .star .side-2 {
  660. content: '';
  661. position: absolute;
  662. transform: rotateY(90deg);
  663. }
  664. @keyframes flyin {
  665. 0% {
  666. transform: translateZ(-9000px);
  667. }
  668. 50%{
  669. opacity: 0.5;
  670. }
  671. 100% {
  672. transform: translateZ(1200px);
  673. opacity: 0;
  674. }
  675. }
  676. @keyframes perspectiveShift {
  677. 0% {
  678. perspective: 600px;
  679. }
  680. 100% {
  681. perspective: 0.6px;
  682. }
  683. }