Sometimes you want to create a line break after an inline element, while retaining that inline element’s inline status. Luckily all it takes is a little pseudo-element magic:
- Code language
This is especially useful in
<form> contexts, like the following example shows.
See the Pen Create a line break while maintaining inline status by Andy Bell (@andybelldesign) on CodePen.