fei.css 1.9 KB

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