html - Wordpress - adding pseud-class before to footer element -



tried add bckground before footer code:

#main-footer::before {    content: " ";    background: url("/bottom.png") no-repeat;    background-size: 100%;    width: 100%;    min-width: 100%;    display: block;    position: absolute;    height: 140px;    bottom: 0; } 

but element hang somewhere in middle of website. can please me understand why , im doing wrong here ? here url : http://webconcept.hekko24.pl/mr/

add position:relative #main-footer.

absolute positioned elements need have relative parent sizes.


Comments

Popular posts from this blog

authentication - Mongodb revoke acccess to connect test database -

r - Update two sets of radiobuttons reactively - shiny -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -