Textarea重叠粘脚页脚

问题描述:

我有一个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

你需要在#footer的CSS加 “Z-指数”,并设置z-index的数量比textarea的包装的更大。