Sticky footer
How do I make an sticky footer?
What is a sticky footer? How do you make a sticky footer? This script and codes were developed by Tushar Bandal on 19 December 2022, Monday.
Sticky footer - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Sticky footer</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <html lang="en"> <body> <div class="pageOuter"> <div class="header"> Lorem ipsum </div> <div class="midContent"> <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. <br/><a href="#" class="addMore" >Add more content</a><br/><a href="#" class="delete" >Delete Content</a></p> </div> <div class="footer"> Lorem ipsum </div> </div> </body>
</html> <script src='https://code.jquery.com/jquery-1.10.2.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Sticky footer - Script Codes CSS Codes
body { margin: 0;
}
body, html { height: 100%; min-height: 100%;
}
.pageOuter { position: relative; min-height: 100%;
}
.footer,
.header { padding: 10px; background: #ccc ;
}
.midContent { padding: 10px 10px 70px 10px;
}
.footer { position: absolute; left: 0; right: 0; bottom: 0;
}
Sticky footer - Script Codes JS Codes
$(document).on('click', '.addMore',function(){ $(this).parent().after('<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industrys standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. <br/><a href="#" class="addMore" >Add more content</a><br/><a href="#" class="delete" >Delete Content</a></p>'); });
$(document).on('click', '.delete', function(){ $(this).parents('p').remove() })
Developer | Tushar Bandal |
Username | tusharbandal |
Uploaded | December 19, 2022 |
Rating | 3 |
Size | 2,541 Kb |
Views | 10,120 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
Drag and drop | 2,459 Kb |
Mobile Accordion | 2,094 Kb |
Accordian | 2,326 Kb |
Theme setting | 4,286 Kb |
CSS3 Form | 1,836 Kb |
Custom Select Box | 2,568 Kb |
Photo gallery | 1,808 Kb |
Angular Accordion | 2,111 Kb |
A Pen by tushar bandal | 2,234 Kb |
CSS3 Gallery | 1,924 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Kut D3 | Jellevrswk | 3,687 Kb |
Mesmerizing octopus | Jllodra | 3,549 Kb |
Use the Twitchtv JSON API | Roksanaop | 3,561 Kb |
After America | Jonathangarner | 2,686 Kb |
STIKHOI | Denmch | 7,122 Kb |
CSS3 Animated buttons | Cguillou | 3,737 Kb |
The Fly | GianlucaGuarini | 3,405 Kb |
Portfolio Page | KaylaMT | 1,983 Kb |
3D Text in Sass | Bookcasey | 2,766 Kb |
Find The Penguin | Lelder | 2,212 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!