FIX: images correctly center, and shrink on screen size.
This commit is contained in:
@@ -286,4 +286,8 @@ nav {
|
|||||||
.project-image {
|
.project-image {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
max-height: 100%;
|
max-height: 100%;
|
||||||
|
max-width: 100%;
|
||||||
|
top: 50%;
|
||||||
|
left: 50%;
|
||||||
|
transform: translate(-50%, -50%);
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user