2016-10-04 113 views
0

我的.slideToggle很糟糕。我不知道爲什麼。 有人可以幫我嗎?jQuery .slideToggle跳躍

.select-hidden { 
    display: none; 
    visibility: hidden; 
    padding-right: 10px; 
} 
.select { 
    cursor: pointer; 
    display: inline-block; 
    position: relative; 
    font-size: 16px; 
    color: $select-color; 
    width: $select-width; 
    height: $select-height; 
    border-radius: 5px; 
} 

http://codepen.io/anon/pen/dpkVRj

謝謝

回答

3

從您的css

.select { 
    /*display: inline-block;*/ 
} 
+1

以下謝謝!很有幫助。 –