Use
http://cssdesk.com/ and in the upper-left box called HTML, fill the following code (I've modified my friend TreeOfL1's above-given codes slightly) --------->
<div class="container">
<div class="box number1">
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.</p>
</div>
<div class="box number2">
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.</p>
</div>
<div class="box number3">
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.</p>
</div>
<div class="box number4">
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.</p>
</div>
</div>
-----------
In the bottom-left box called CSS, fill the following -------->
.container {
width: 100%;
}
.box {
float: left;
padding: 0 2.5% 0 2.5%;
width:20%;
height: auto;
}
p
{
font-family: arial;
font-size: 14px;
}
@media all and (max-width: 420px) {
.container, .box {
float: none;
width: auto;
border-bottom:1px solid red;
}
}
----------------------
Play with the code as much as you wish, experiment with some more html/css, and learn and enjoy html/css basic programming!
Reduce the width of the browser slowly, and go all the way slowly of course (well, don't reduce too much, may be reduce the browser width up to a certain extent, for example, approx. 200px width), and see what happens in the right-hand (result) box.
Clicking on the left-arrow that is next to the HTML box at the top, you can hide the HTML and CSS boxes and keep only the result box visible.
Enjoy!
P.S.:
From one learner to another...

. If there are any/many mistakes/errors please forgive the student. lol