mirror of
https://github.com/hazemKrimi/personal-website.git
synced 2026-05-02 02:10:27 +00:00
Stick footer to page bottom
This commit is contained in:
@@ -4,6 +4,11 @@ import styled from 'styled-components';
|
||||
import IconButton from '../components/IconButton';
|
||||
|
||||
const StyledFooter = styled.footer`
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
min-height: 100px;
|
||||
width: 85%;
|
||||
margin: auto;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
column-gap: 2rem;
|
||||
@@ -11,6 +16,10 @@ const StyledFooter = styled.footer`
|
||||
align-content: center;
|
||||
padding: 1rem 0rem;
|
||||
|
||||
@media (max-width: 768px) {
|
||||
width: 95%;
|
||||
}
|
||||
|
||||
.contact {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, 16px);
|
||||
|
||||
Reference in New Issue
Block a user