Text page over footer

30 views Asked by At

Text page over footer

I need to put the text page over the footer as illustrated in the picture attached. It is important that the length of the page is set to auto according to the text in page.

1

There are 1 answers

0
Scott Simpson On

Add a negative margin to the top of the footer and set a z-index of 2 for the text.

.footer{ margin-top: -100px;}
.text-page {position: relative; z-index: 2;}