DEV Community

Cover image for You Need Just 4 Steps to Responsive Design Approach
Sampad Sarker
Sampad Sarker

Posted on

1

You Need Just 4 Steps to Responsive Design Approach

step 1: At first, develop a html structure according to design, just only html (no css).

step 2: This only html structure provides you mobile-like small devices' design(check it on dev tool). Put typography, color, padding, margin in the html through css, but do not put any layout style.

step 3: Find out break points using dev tool and then use @media query according to that breakpoints. In this step, concentrate on layout. Use display:flex/grid/block/inline and other properties into @media query.

step 4: Use less number of @media query as much as possible to reduce complexity.

Top comments (0)

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

πŸ‘‹ Kindness is contagious

Please leave a ❀️ or a friendly comment on this post if you found it helpful!

Okay