In this case, the dynamic banner appears in some cases only. I have to put the Box div (angular component) at the end of the screen view but due to less height of its container, I am unable to do so. I tried setting the height to 100% which results in appearing the Box out of the screen. Just need a sample code for this layout so I can put it in my design. I have tried setting Box to bottom: 0
, position: absolute
but no luck.
2
Answers
You can make the Box parent a
flex
container and position it’s children at theflex-end
.See example below:
Try this: