Use flexbox to center
This commit is contained in:
parent
a35ad903e1
commit
74804764fb
1 changed files with 4 additions and 1 deletions
|
@ -162,7 +162,10 @@
|
|||
}
|
||||
|
||||
& .project {
|
||||
padding: 10%;
|
||||
padding: 8%;
|
||||
.flexbox();
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
.transition(~"opacity 0.5s ease-in");
|
||||
opacity: 0;
|
||||
background-color: rgba(0,0,0,0.7);
|
||||
|
|
Reference in a new issue