From 29c1aa612d8c012e875a9677207c707ed8763b28 Mon Sep 17 00:00:00 2001 From: realaravinth Date: Sat, 6 Aug 2022 21:32:38 +0530 Subject: [PATCH] feat: mobile styling --- index.html | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/index.html b/index.html index 138137f..605eeed 100644 --- a/index.html +++ b/index.html @@ -128,5 +128,33 @@ background: #FF426F; transform: rotate(135deg); */ + + @media (max-width: 1025px) { + + .hero { + align-items: center; + height: 100% + } + .text > h1 { + font-size: 4rem; + width: 50%; + margin: auto; + } + .elipse { + display: none; + } + + h2 { + font-size: 2rem; + } + + .text { + display:flex; + flex-direction: column; + margin: auto; + width: 50%; + align-items: center; + } + }