Codepen Not Outputting Correct Bootstrap Formatting

I had the same problem. For some reason Codepen decided to use the 4.0.0-alpha.6 version. Which I suppose uses some other classnames.

You can of course manually add the links to version 3 from here. Or learn about the difference from the Bootstrap migration article.