Web development
Responsive Web Design for Beginners
Beginner course with English explanations and Khmer support.
English · beginner · 8 lessons
Start learning →The Responsive Web
The Responsive Web →Responsive design adapts a page to different available widths and input methods. Start with readable content and flexible layout rather than designing for one fixed device. Test on narrow and wide vie
Viewport and Flexible Units
Viewport and Flexible Units →The viewport meta tag helps mobile browsers use the device width. CSS units such as percent, rem and viewport units can support flexible designs. Choose units according to purpose, and avoid assuming
Flexbox and Grid
Flexbox and Grid →Flexbox arranges items along a main axis and can wrap them. CSS Grid provides rows and columns for two-dimensional layouts. Set gaps and allow items to shrink or wrap rather than forcing content outsi
Building a Wrapping Card Layout →Flexbox can arrange cards in a row and wrap them when the available space is too narrow. Give cards a flexible basis, allow wrapping and set a gap. Test long text and narrow widths so cards remain rea
Media Queries
Media Queries →Media queries apply CSS when conditions such as viewport width match. Write a usable base layout, then add breakpoints where the content needs a change. Choose breakpoints by testing the design, not b