* {
  margin: 0px;
  padding: 0px;
}
body {
  direction: rtl;
}
#main {
  width: 600px;
  height: auto;
  border: 1px solid lightgray;
  margin: 10px auto;
  padding: 5px;

  column-count: 3;
  -moz-column-count: 3;
  -webkit-column-count: 3;

  column-gap: 10px;
  -moz-column-gap: 10px;
  -webkit-column-gap: 10px;

  column-rule: 2px solid orange;
  -moz-column-rule: 2px solid orange;
  -webkit-column-rule: 2px solid orange;
}
