appliance.scss 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. .banner {
  2. width: 100%;
  3. height: 530px;
  4. img {
  5. width: 100%;
  6. height: 100%;
  7. display: block;
  8. }
  9. }
  10. .main {
  11. height: auto;
  12. box-sizing: border-box;
  13. .appliance-title {
  14. width: 100%;
  15. height: 244px;
  16. box-sizing: border-box;
  17. padding: 80px 0;
  18. h1 {
  19. font-size: 34px;
  20. line-height: 45px;
  21. color: #272727;
  22. text-align: center;
  23. font-weight: normal;
  24. }
  25. p {
  26. font-size: 16px;
  27. line-height: 30px;
  28. color: #999999;
  29. text-align: center;
  30. }
  31. }
  32. .appliance-content {
  33. width: 100%;
  34. height: auto;
  35. .appliance-li {
  36. width: 100%;
  37. height: 380px;
  38. margin-bottom: 80px;
  39. transition: all 0.5s;
  40. &:hover {
  41. transform: translateY(-10px);
  42. box-shadow: 0px 6px 30px rgba(39, 39, 39, 0.1);
  43. }
  44. &:last-child {
  45. margin-bottom: 0;
  46. }
  47. .appliance-lil {
  48. width: 570px;
  49. height: 100%;
  50. float: left;
  51. img {
  52. width: 570px;
  53. height: 100%;
  54. display: block;
  55. }
  56. }
  57. .appliance-lir {
  58. width: 630px;
  59. height: 380px;
  60. background: url(./img/appliance-lbg.png);
  61. background-size: cover;
  62. float: right;
  63. box-sizing: border-box;
  64. padding: 48px 38px;
  65. .appliance-lir-top {
  66. width: 100%;
  67. height: 31px;
  68. font-size: 24px;
  69. color: #272727;
  70. text-align: left;
  71. margin-bottom: 30px;
  72. }
  73. .appliance-lir-text {
  74. width: 100%;
  75. box-sizing: border-box;
  76. padding-left: 10px;
  77. p {
  78. font-size: 16px;
  79. color: #505050;
  80. text-align: justify;
  81. line-height: 35px;
  82. }
  83. }
  84. }
  85. }
  86. }
  87. }