Thursday, July 13, 2023

Responsive Website

1. viewport meta tag

2. CSS relative units

3. body max width and horizontal center align(margin: 0 auto;)

4. image fluid (width: 100%; of image)

5. to make 2 columns use flex and media query with "flex-direction: column;"

6. multiple column use grid layout

0 comments:

Post a Comment