style.scss 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. * {
  2. margin: 0;
  3. padding: 0;
  4. box-sizing: border-box;
  5. font-family: 微軟正黑體;
  6. }
  7. .body{
  8. background-color: #000 !important;
  9. }
  10. .propertytitle{
  11. -webkit-text-stroke:0.7px #fff;
  12. -moz-text-stroke:0.7px #fff;
  13. }
  14. p{
  15. font-size: 24px;
  16. }
  17. .bgslider{
  18. position: relative;
  19. width: 100% !important;
  20. }
  21. ul{
  22. list-style-type: none;
  23. width: 100% !important;
  24. }
  25. ul>li{
  26. position: absolute;
  27. width: 100% !important;
  28. }
  29. ul>li:nth-child(3){
  30. animation: li3 12s infinite;
  31. }
  32. ul>li:nth-child(2){
  33. animation: li2 12s infinite;
  34. }
  35. ul>li:nth-child(1){
  36. animation: li1 12s infinite;
  37. }
  38. @keyframes li3{
  39. 0%{
  40. opacity: 1;
  41. }
  42. 35%{
  43. opacity: 0;
  44. }
  45. 75%{
  46. opacity: 0;
  47. }
  48. }
  49. @keyframes li2{
  50. 40%{
  51. opacity: 1;
  52. }
  53. 80%{
  54. opacity: 0;
  55. }
  56. 75%{
  57. opacity: 0;
  58. }
  59. }
  60. @keyframes li1{
  61. 80%{
  62. opacity: 1;
  63. }
  64. 95%{
  65. opacity: 0;
  66. }
  67. }
  68. .bg-item{
  69. display: none;
  70. // img{
  71. // // opacity: 0;
  72. // // animation-name:BgFadein;
  73. // // animation-duration: 5s;
  74. // // animation-delay: -3s;
  75. // // animation-fill-mode:forwards;
  76. // // animation-fill-mode:backwards;
  77. // // animation-timing-function:ease-out;
  78. // }
  79. }
  80. .bg-item3{
  81. display: none;
  82. img{
  83. animation-name:BgFadein;
  84. animation-duration: 1s;
  85. animation-timing-function:ease-out;
  86. }
  87. }
  88. .bg-item2{
  89. display: none;
  90. img{
  91. animation-name:BgFadein;
  92. animation-duration: 1s;
  93. animation-timing-function:ease-out;
  94. }
  95. }
  96. .bg-active{
  97. display: block;
  98. }
  99. @keyframes BgFadein {
  100. 0% {
  101. opacity: 0.5;
  102. }
  103. 50% {opacity: 0.8;}
  104. // 50% {opacity: 1;}
  105. 100%{
  106. opacity: 1;
  107. }
  108. }