Latest solutions
Expenses chart component in React, TypeScript, Vanilla CSS & Chart.js
#accessibility#bemSubmitted over 1 year agoNewsletter sign-up with success message in React.js and Vanilla CSS
#accessibility#bemSubmitted over 1 year agoPing single column coming soon page in HTML, CSS and JavaScript
#accessibility#bemSubmitted over 1 year agoIntro component with sign-up form in HTML, CSS and Vanilla JavaScript
#accessibility#bemSubmitted over 1 year ago
Latest comments
- @rayaatta@harpreet-singh-147
body{ min-height:100vh; display:flex; flex-direction:column; align-items:center; position: relative; }
footer { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); font-size: 11px; text-align: center; width: 100%; }
You need to position the footer relative to the body. On the body tag, there is position relative, and on the footer, there is position absolute. Bottom: 20px or whatever value you want will place it where you want it. left: 50%; transform: translateX(-50%); will position the footer in the center of the page. You can use vanilla CSS for anything you want to. Learn how to use vanilla css first, then you can use other tools such as tailwind css and the others.
Marked as helpful - @cmcrawford2@harpreet-singh-147
Very nicely done!
- @Cheosphere@harpreet-singh-147
Nice work!