diff --git a/src/Components/Home/Home.jsx b/src/Components/Home/Home.jsx index 68cb7aa..6628206 100644 --- a/src/Components/Home/Home.jsx +++ b/src/Components/Home/Home.jsx @@ -310,7 +310,7 @@ Our mission is to turn your real estate goals into reality. We're not just in th placeholder="Name" className="input w-[10rem] mt-10 ml-5 h-10 pt-4 pl-2 border-2 border-black rounded-lg lg:w-5/6" /> - + -
+

Pamarth Group

-
+
  • - + diff --git a/src/index.css b/src/index.css index d1d309a..4dbf3c9 100644 --- a/src/index.css +++ b/src/index.css @@ -31,8 +31,7 @@ body{ } .name-label{ - position: absolute; - + position: absolute; top: 28px; left: 36px; font-size: 1rem; @@ -57,6 +56,24 @@ body{ top: 161px; cursor: text; } + +@media (max-width: 320px){ + .input:placeholder-shown ~ .name-label { + top: 56px; + } + .email:placeholder-shown ~ .email-label{ + top: 128px; + cursor: text; + } + + .name-label{ + left: 30px; + } + + .email-label{ + left: 30px; + } +} .menu-container { animation: max-height 1s ease; }