From ce5f64ec99fedf47dc1c41b43f8362aa95b670c2 Mon Sep 17 00:00:00 2001 From: Krishna/5211 Date: Fri, 21 Nov 2025 01:24:57 +0530 Subject: [PATCH] Fix responsiveness for Portfolio-website-hero section --- Portfolio-website-hero/style.css | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/Portfolio-website-hero/style.css b/Portfolio-website-hero/style.css index 506ac40..faa1143 100644 --- a/Portfolio-website-hero/style.css +++ b/Portfolio-website-hero/style.css @@ -245,3 +245,28 @@ ul { transform: rotate(45deg); } } +@media (max-width: 768px) { + .hero { + flex-direction: column; + text-align: center; + padding: 20px; + } + + .hero img { + width: 80%; + margin: 0 auto; + } + + .hero h1 { + font-size: 1.8rem; + } + + .hero p { + font-size: 1rem; + } + + .hero button { + padding: 10px 20px; + font-size: 1rem; + } +}