react-sticky 样式覆盖
- style
- stickyStyle
import { StickyContainer, Sticky } from 'react-sticky';
<StickyContainer>
<Sticky topOffset={-90} style={{zIndex:9999}} stickyStyle={{top:90}}>
<MyTabs/>
<Sticky>
</StickyContainer>
react-sticky 样式覆盖
import { StickyContainer, Sticky } from 'react-sticky';
<StickyContainer>
<Sticky topOffset={-90} style={{zIndex:9999}} stickyStyle={{top:90}}>
<MyTabs/>
<Sticky>
</StickyContainer>
本文标题:react-sticky 设置 top left right b
本文链接:https://www.haomeiwen.com/subject/gdpunhtx.html
网友评论