Fix responsiveness
This commit is contained in:
parent
43683d08cc
commit
6acdfe3e75
1 changed files with 5 additions and 3 deletions
|
@ -1,16 +1,17 @@
|
|||
.portfolioItems {
|
||||
display: grid;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
||||
text-align: center;
|
||||
gap: 30px;
|
||||
margin: auto;
|
||||
max-width: 1000px;
|
||||
max-width: 60rem;
|
||||
flex-wrap: wrap;
|
||||
padding: 2em 3em;
|
||||
}
|
||||
|
||||
.portfolioItems a {
|
||||
width: 100%;
|
||||
max-width: 12rem;
|
||||
color: white;
|
||||
transition: scale 0.2s;
|
||||
}
|
||||
|
@ -24,6 +25,7 @@
|
|||
}
|
||||
|
||||
.portfolioItems img {
|
||||
width: 100%;
|
||||
border-radius: 1rem;
|
||||
background: var(--secondary);
|
||||
box-shadow: 0.5em 0.5em 3em 0.7em rgba(0, 0, 0, 0.25),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue