Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Mar 9, 2021. It is now read-only.

Commit 4212087

Browse files
committed
remove image load flickering
1 parent 5b387f7 commit 4212087

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pages/index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,11 @@ class Home extends React.Component {
2222
}
2323
.about__container {
2424
max-width: 1280px;
25+
min-height: calc(100vh - 260px);
2526
margin: 0 auto;
27+
display: flex;
28+
justify-content: center;
29+
align-items: center;
2630
}
2731
.about__content img {
2832
width: 100%;

0 commit comments

Comments
 (0)