Skip to content

Instantly share code, notes, and snippets.

@Andy-set-studio
Created July 15, 2016 09:39
Show Gist options
  • Save Andy-set-studio/b2561f0cdf881121742500774ec58ef9 to your computer and use it in GitHub Desktop.
Save Andy-set-studio/b2561f0cdf881121742500774ec58ef9 to your computer and use it in GitHub Desktop.
Add a line break with CSS. Useful for keeping labels inline/inline-block
// Create a line break
&:after {
content: "\A";
white-space: pre;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment