1#
这么搞就行,使用translate(0,0)
  1. #rec .downselect {

  2.     width: 100%;

  3.     background: rgba(245,242,235,0.94);

  4.     top: 45px;

  5.     left: 0;

  6.     position: absolute;

  7.     z-index: 2;

  8.     border-bottom-left-radius: 5px;

  9.     border-bottom-right-radius: 5px;

  10.     box-shadow: 0 1px 9px rgba(0,0,0,0.2),0 1px 4px rgba(0,0,0,0.1) inset;

  11.     display: block;

  12.     -webkit-transition: all .35s ease-in;

  13.     -webkit-transform: translate(0,-310px);

  14.     border-bottom: solid 1px rgba(0,0,0,0.15);

  15. }



  16. #rec .downselect.show {

  17.     -webkit-transform: translate(0,0);

  18. }

复制代码