crop_rotate
Run
<!DOCTYPE html> <html> <head> <style> * { box-sizing: border-box; } .flex-container { display: flex; font-size: 30px; text-align: center; flex-wrap:wrap; } .item { background-color: #f1f1f1; padding: 10px; flex:50%; border:dashed black 1px; } @media (max-width:800px) { .item { flex:100%; } } </style> </head> <body> <h1>CSS Flexbox Responsive</h1> <p>wrap items when resize window</p> <div class="flex-container"> <div class="item">1</div> <div class="item">2</div> </div> </body> </html>
PCFET0NUWVBFIGh0bWw+DQo8aHRtbD4NCjxoZWFkPg0KPHN0eWxlPg0KKg0Kew0KICBib3gtc2l6aW5nOiBib3JkZXItYm94Ow0KfQ0KDQouZmxleC1jb250YWluZXIgew0KICBkaXNwbGF5OiBmbGV4Ow0KICBmb250LXNpemU6IDMwcHg7DQogIHRleHQtYWxpZ246IGNlbnRlcjsNCiAgZmxleC13cmFwOndyYXA7DQp9DQoNCi5pdGVtDQp7DQogIGJhY2tncm91bmQtY29sb3I6ICNmMWYxZjE7DQogIHBhZGRpbmc6IDEwcHg7DQogIGZsZXg6NTAlOw0KICBib3JkZXI6ZGFzaGVkIGJsYWNrIDFweDsNCn0NCg0KDQpAbWVkaWEgKG1heC13aWR0aDo4MDBweCkgDQp7DQogIC5pdGVtDQogIHsNCiAgICBmbGV4OjEwMCU7DQogIH0NCn0NCjwvc3R5bGU+DQo8c3R5bGUgdHlwZT0idGV4dC9jc3MiPiA6Oi13ZWJraXQtc2Nyb2xsYmFye3dpZHRoOjdweDtoZWlnaHQ6N3B4O306Oi13ZWJraXQtc2Nyb2xsYmFyLXRyYWNre2JhY2tncm91bmQ6I2ZmZjt9Ojotd2Via2l0LXNjcm9sbGJhci10aHVtYntib3JkZXItcmFkaXVzOjVweDtiYWNrZ3JvdW5kOiMyZjQ1ZmY7fTwvc3R5bGU+PC9oZWFkPg0KPGJvZHk+DQoNCjxoMT5DU1MgRmxleGJveCBSZXNwb25zaXZlPC9oMT4NCjxwPndyYXAgaXRlbXMgd2hlbiByZXNpemUgd2luZG93PC9wPg0KDQo8ZGl2IGNsYXNzPSJmbGV4LWNvbnRhaW5lciI+DQogIDxkaXYgY2xhc3M9Iml0ZW0iPjE8L2Rpdj4NCiAgPGRpdiBjbGFzcz0iaXRlbSI+MjwvZGl2Pg0KPC9kaXY+DQoNCjwvYm9keT4NCjwvaHRtbD4=