This project is a mobile-first clone of a modern web interface, designed to practice responsive layouts, Flexbox, and structured UI design. The focus was on building a clean, functional, and scalable layout suitable for small screens.
The layout is inspired by the Yarn Classic website
It demonstrates multiple content sections including hero banners, feature highlights, call-to-action blocks, and footers, all stacked for mobile readability.
yarn-mobile-clone/
│
├── images/
├── index.html
├── style.css
└── README.mdHTML Structure: Organized sections for header, hero, features, call-to-action, and footer.
CSS Styles: Mobile-first styling with Flexbox for layout, consistent spacing using padding and margins, responsive images, and utility classes for alignment.
You can view the deployed project here:
The final result generated with HTML and CSS:
The main goal of this project was to recreate a real-world mobile layout while mastering:
-
Responsive Flexbox Layouts: Structuring nested rows and columns for mobile screens.
-
Content Alignment: Using
justify-content, align-items, and spacing for visually balanced sections. -
Box Model Precision: Leveraging
margin,padding, andborderto control spacing around elements. -
Mobile-first Approach: Designing for a 375px viewport, ensuring readability and proper stacking of components.
-
Header & Navigation: Logo and menu button aligned with Flexbox.
-
Hero Section: Centralized heading and call-to-action buttons.
-
Feature Highlights: Multiple content blocks with images, headings, and descriptions.
-
Call-to-Action Section: Prominent section prompting user interaction.
-
Footer: Compact footer with aligned text links.
-
Nested Flex Containers: Using
flexinside other flex containers for complex layouts. -
Clean & Maintainable CSS: Utility classes for flex behavior, alignment, and spacing.
-
Mobile-first Design Strategy: Focused on small screen usability while keeping structure consistent.
-
Fully HTML + CSS based, no external frameworks or JavaScript.
-
Demonstrates practical skills in responsive design, Flexbox, and mobile UI structuring.






