Skip to content

Instantly share code, notes, and snippets.

@sudarshanReddykurri
Created September 10, 2016 06:07
Show Gist options
  • Save sudarshanReddykurri/70fbdd265d6970f67e69d14dfc063aa7 to your computer and use it in GitHub Desktop.
Save sudarshanReddykurri/70fbdd265d6970f67e69d14dfc063aa7 to your computer and use it in GitHub Desktop.
Adding multi-line CSS content (Method -1 )
<div id="test1">Hello World</div>
#test1:after {
content : ' of foo \A barred';
white-space: pre; /* this line is essential */
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment