Textarea重叠粘性页脚

问题描述 投票:0回答:1

我有一个textarea的问题。它与我的粘性页脚重叠,如下图所示。我怎样才能解决这个问题?

enter image description here

css for my footer

#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%;
}
jquery html css
1个回答
0
投票

你需要在#footer css中添加“z-index”,并将z-index数设置为大于textarea包装器的数量。

© www.soinside.com 2019 - 2024. All rights reserved.