2017-12-18 65 views
0

我有一個textarea問題。它與下圖中所示的粘性頁腳重疊。我怎樣才能解決這個問題?Textarea重疊粘腳頁腳

enter image description here

CSS我的頁腳

#footer { 
    display: flex; 
    flex-direction: row; 
    flex-wrap: wrap; 
    justify-content: center; 
    align-items: center; 
    background-color: #4d4d4d; 
    border-top: 1px solid #e87f29; 
    color: #efefef; 
    position: fixed; 
    bottom: 0; 
    min-width: 100%; 
} 
+1

是的,我意識到這是一個小小的代碼。對此我很抱歉。我將這篇文章編輯成只有一個代碼少的問題。 – Rajohan

+3

我會先在您的''標籤上爲您的粘性頁腳和'margin-bottom'屬性添加一個'z-index'屬性開始...... – War10ck

回答

1

你需要在#footer的CSS加 「Z-指數」,並設置z-index的數量比textarea的包裝的更大。