index.css 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. .cursor{
  2. cursor:pointer;
  3. }
  4. .autoBox {
  5. width: 1200px;
  6. margin: auto;
  7. position: relative;
  8. }
  9. .middle {
  10. vertical-align:middle;
  11. }
  12. .screen1 {
  13. color:#2c5589;
  14. }
  15. .screen2 {
  16. font-size: 14px;
  17. color:#bebebe;
  18. }
  19. .title-text span {
  20. display: block; /*设置为块级元素会独占一行形成上下居中的效果*/
  21. position: relative; /*定位横线(当横线的父元素)*/
  22. text-align: center;
  23. }
  24. .title-text span:before, .title-text span:after {
  25. content: '';
  26. position: absolute; /*定位背景横线的位置*/
  27. top: 50%;
  28. background: #c3c8d8; /*背景横线颜色*/
  29. width: 30%; /*单侧横线的长度*/
  30. height: 1px;
  31. }
  32. .title-text span:before {
  33. left: 2%; /*调整背景横线的左右距离*/
  34. }
  35. .plate::after,.plateCountry::after {
  36. content: "...";
  37. position:absolute;
  38. bottom:0;
  39. right:0;
  40. padding-left:0px;
  41. background:-webkit-linear-gradient(left,transparent,#fff 55%);
  42. background:-o-linear-gradient(right,transparent,#fff 55%);
  43. background:-moz-linear-gradient(right,transparent,#fff 55%);
  44. background:linear-gradient(to right,transparent,#fff 55%);
  45. }
  46. .plateCountry::after {
  47. bottom:10px;
  48. }
  49. .title-text span:after {
  50. right: 2%;
  51. }