bootstrap form codepen

By default it only applies margin-bottom, but it picks up additional styles in .form-inline as needed. But it doesn't provide exact result I want. This is slightly more verbose as you must specify id and for attributes to relate the and