Bootstrap class: .border-warning

<span class="border border-warning">Hello World</span>

Preview

Hello World

More in Bootstrap Borders