style.scss 1.5 KB

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