search

Home  >  Q&A  >  body text

css - 父元素transform属性,导致子元素的fixed失效,有解决方法吗?

如题。
呃,详细····描述··一定要详细描述啊······················就是父元素如果有了transform属性,子元素设置的fixed···就会滚动了····

阿神阿神2867 days ago695

reply all(2)I'll reply

  • 高洛峰

    高洛峰2017-04-17 11:09:08

    I thought it would be better to avoid this situation as much as possible without having to deal with him. Does the element itself fixed need to be a child element of other elements?

    reply
    0
  • 黄舟

    黄舟2017-04-17 11:09:08

    Let the parent element become a child element at the same level as the child element.

    reply
    0
  • Cancelreply