1
Fork 0

Use flexbox to center

This commit is contained in:
Jake Howard 2016-01-16 14:59:20 +00:00
parent a35ad903e1
commit 74804764fb

View file

@ -162,7 +162,10 @@
} }
& .project { & .project {
padding: 10%; padding: 8%;
.flexbox();
align-items: center;
justify-content: center;
.transition(~"opacity 0.5s ease-in"); .transition(~"opacity 0.5s ease-in");
opacity: 0; opacity: 0;
background-color: rgba(0,0,0,0.7); background-color: rgba(0,0,0,0.7);