Closed kevinscience closed 6 years ago
Actually, I got it. By setting position of header/footer to 'absolute'.
@kevinscience Yes that would be purely style driven, using position absolute would be the best way to go about this.
@kevinscience how did you set the position of the footer to 'absolute'??
@abhinav011085 It's used the same way in traditional CSS, I would suggest reading many articles on how to use position: absolute
, but you would set relative
to parent, then absolute
on element (footer or header), then adjust top
or bottom
properties.
Love react-native-masonry? Please consider supporting our collective: 👉 https://opencollective.com/react-native-masonry/donate
Is there a way to place the Header/Footer on the image? It would be more stylish. Thank you!