stu-bg.css 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. .body {
  2. display: flex;
  3. flex-direction: row;
  4. height: 100vh;
  5. width: 100vw;
  6. box-sizing: padding-box; }
  7. .left {
  8. width: 35%;
  9. height: 100%;
  10. display: flex;
  11. justify-content: center;
  12. align-items: center;
  13. background-image: url("../../Image/Stu/yuanhu.png");
  14. background-size: 100% 100%; }
  15. .left img {
  16. margin-top: -5%;
  17. width: 80%; }
  18. .right {
  19. width: 65%;
  20. height: 100%;
  21. display: flex;
  22. justify-content: center;
  23. align-items: center;
  24. position: relative; }
  25. .right img {
  26. animation: spin 8s linear infinite;
  27. height: 60%; }
  28. .text-box {
  29. position: absolute;
  30. width: auto;
  31. display: flex;
  32. flex-direction: column;
  33. justify-content: center;
  34. align-items: center;
  35. margin-top: -2%; }
  36. .text-box .name {
  37. font-size: 36px;
  38. font-weight: 600;
  39. color: #fff;
  40. background: #11998e;
  41. padding: 15px 100px;
  42. letter-spacing: 10px;
  43. padding-right: 90px;
  44. border-radius: 50px; }
  45. .text-box .wait-text {
  46. font-size: 90px;
  47. font-weight: 600;
  48. color: #3c3c3c;
  49. letter-spacing: 20px;
  50. margin-top: 50px;
  51. padding-right: 20px; }
  52. /*@media(min-device-width:1025px) {
  53. .right img {
  54. height: auto;
  55. }
  56. }*/
  57. @keyframes spin {
  58. 0% {
  59. transform: rotate(0deg); }
  60. 35% {
  61. transform: rotate(180deg); }
  62. 50% {
  63. transform: rotate(180deg); }
  64. 85% {
  65. transform: rotate(360deg); }
  66. 100% {
  67. transform: rotate(360deg); } }