Skip to content

Commit 5d2a99b

Browse files
committed
Center hero section text and buttons on mobile viewport
1 parent 31022bd commit 5d2a99b

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

index.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,10 @@
122122
@media(max-width:900px){
123123
.hero-inner{grid-template-columns:1fr;gap:40px}
124124
.hero-right{order:-1}
125+
.hero-left{text-align:center}
126+
.hero-badge{justify-content:center}
127+
.hero-desc{margin-left:auto;margin-right:auto}
128+
.hero-btns{justify-content:center}
125129
.stats-grid{grid-template-columns:repeat(2,1fr)}
126130
.feat-grid{grid-template-columns:1fr}
127131
.modes-grid{grid-template-columns:1fr}

0 commit comments

Comments
 (0)