jiao.css 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. @import url(music.css);
  2. @import url(saying.css);
  3. .u-audio2{
  4. top: 430px;
  5. }
  6. * {
  7. margin: 0;
  8. padding: 0;
  9. }
  10. #container {
  11. width: 390px;
  12. height: 844px;
  13. margin: 0px auto;
  14. background: url('../imags/background/back3.png') no-repeat;
  15. background-size: 390px 844px;
  16. /* border: 1px solid rgb(240, 7, 7); */
  17. position: relative;
  18. border-radius: 30px;
  19. }
  20. .container1 {
  21. position: absolute;
  22. left: 45px;
  23. top: 180px;
  24. /* border: 1px solid rgb(240, 7, 7); */
  25. }
  26. .container1 p {
  27. font-family: 'SONG';
  28. font-size: 20px;
  29. color: black;
  30. text-align: center;
  31. line-height: 30px;
  32. letter-spacing: 5px;
  33. }
  34. .container1 p span {
  35. color: rgb(116, 48, 67);;
  36. font-family: 'SONG';
  37. }
  38. .container2 {
  39. position: absolute;
  40. left: 105px;
  41. top: 350px;
  42. /* border: 1px solid rgb(240, 7, 7); */
  43. }
  44. .container2>div:first-child>img {
  45. width: 180px;
  46. height: 200px;
  47. }
  48. .container2>div:last-child>p {
  49. font-family: 'SONG';
  50. font-size: 15px;
  51. color: black;
  52. text-align: center;
  53. line-height: 30px;
  54. letter-spacing: 5px;
  55. }
  56. .container2>div:first-child>div>img{
  57. width: 200px;
  58. height: 120px;
  59. border-radius: 20px;
  60. }
  61. .container2>div:first-child>div{
  62. display: none;
  63. position: absolute;
  64. top: 30px;
  65. left: -10px;
  66. /* border: 1px saddlebrown solid; */
  67. }
  68. .container2>div:first-child:active>div{
  69. display: block;
  70. }
  71. .container3 {
  72. position: absolute;
  73. left: 35px;
  74. bottom: 150px;
  75. /* border: 1px solid rgb(240, 7, 7); */
  76. }
  77. .container3>div {
  78. float: left;
  79. /* border: 1px solid rgb(240, 7, 7); */
  80. margin-left: 8px;
  81. }
  82. .container3>div:first-child {
  83. margin-left: 0px;
  84. }
  85. .container3>div:nth-child(2) {
  86. margin-left: 0px;
  87. }
  88. .container3>div:last-child {
  89. margin-left: 0px;
  90. }
  91. .container3 .Puzzle {
  92. position: relative;
  93. width: 50px;
  94. height: 40px;
  95. cursor: pointer;
  96. /*鼠标手型改变*/
  97. /*过渡时间:持续的时间 规定以慢速开始和结束,先加速后减速效果*/
  98. }
  99. .container3>div>img:hover {
  100. transform: scale(1.2);
  101. }
  102. #submit img {
  103. position: absolute;
  104. width: 150px;
  105. left: 50%;
  106. transform: translateX(-50%);
  107. bottom: 80px;
  108. cursor: pointer;
  109. }
  110. #correct,
  111. #wrong {
  112. position: absolute;
  113. z-index: 100;
  114. left: 50%;
  115. transform: translateX(-50%);
  116. bottom: 500px;
  117. }
  118. .back img {
  119. position: absolute;
  120. top: 0px;
  121. left: 5px;
  122. width: 80px;
  123. cursor: pointer;
  124. }
  125. .go img {
  126. position: absolute;
  127. width: 100px;
  128. cursor: pointer;
  129. bottom: 0px;
  130. right: 10px;
  131. }